-
Moved the code into a Python module
namecheap/
instead of a flatnamecheap.py
file.- 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
Api
class 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.getInfo
asdomains_getInfo
andget_domain_info
- Added API
namecheap.domains.renew
asdomains_renew
andrenew_domain
- Added API
namecheap.users.getPricing
asusers_getPricing
, with wrapper methodget_tld_prices
andget_all_tld_prices
for simpler querying of specifically domain TLD prices - Added API
namecheap.domains.gettldlist
asdomains_getTldList
for retrieving available TLDs - Added API
namecheap.domains.dns.setDefault
asdomains_dns_setDefault
for 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_endpoint
to allow users to override theENDPOINTS
, e.g. for proxy domains to assist with namecheap's IP whitelisting on a private network -
Changed
domains_check
to return the actual data fromdomains.check
- availability checking with boolean results has now been moved todomains_available
-
Changed dirty
print()
statements intolog.debug()
-debug=True
now simple creates a console logger with DEBUG level. -
Added
py36
extra tosetup.py
- which is just an alias to thedataclasses
backport package / shim - required to useprivex-namecheap
on Python 3.6.x -
Added
namecheap-api-cli
toscripts
in 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.