Releases: Privex/PyNamecheap
0.1.0 - Major overhaul - methods return dataclasses, caching, new methods + more
-
Moved the code into a Python module
namecheap/instead of a flatnamecheap.pyfile.- Exceptions moved to
namecheap/exceptions.py - Helper functions moved to
namecheap/helpers.py - Dataclasses for representing objects returned by the API are stored in
namecheap/objects.py - Main
Apiclass and related variables / private functions moved tonamecheap/namecheap.py
- Exceptions moved to
-
Completely overhauled almost every method - API call methods now return dataclasses using the classes defined in
namecheap/objects.py -
Added support for more APIs
- Added API
namecheap.domains.getInfoasdomains_getInfoandget_domain_info - Added API
namecheap.domains.renewasdomains_renewandrenew_domain - Added API
namecheap.users.getPricingasusers_getPricing, with wrapper methodget_tld_pricesandget_all_tld_pricesfor simpler querying of specifically domain TLD prices - Added API
namecheap.domains.gettldlistasdomains_getTldListfor retrieving available TLDs - Added API
namecheap.domains.dns.setDefaultasdomains_dns_setDefaultfor resetting a domain back to the default Namecheap DNS - Probably more APIs which were added, but weren't clear in the diff
- Added API
-
Added
set_endpointto allow users to override theENDPOINTS, e.g. for proxy domains to assist with namecheap's IP whitelisting on a private network -
Changed
domains_checkto return the actual data fromdomains.check- availability checking with boolean results has now been moved todomains_available -
Changed dirty
print()statements intolog.debug()-debug=Truenow simple creates a console logger with DEBUG level. -
Added
py36extra tosetup.py- which is just an alias to thedataclassesbackport package / shim - required to useprivex-namecheapon Python 3.6.x -
Added
namecheap-api-clitoscriptsin setup.py - so that the CLI tool gets installed into ~/.local/bin or /usr/local/bin/ -
Updated package name to
privex_namecheap(privex-namecheap on pypi), as well as the URL, author, email, description etc. -
And much much more. If you care enough to find out the nitty gritty changes, read the Git code diff.