Add namecheap as a DNS record provider
gkpty opened this issue · comments
Gabriel Kardonski commented
The namecheap API is written in xml. To be able to deal with the xml API in a similar fashion to the other APIs we are gonna have to use xml2js
https://www.npmjs.com/package/xml2js
- the user must create and add their namecheap API keys.
https://www.namecheap.com/support/api/intro/
to create/update/delete a record:
- the gethosts method has to be called
- the JSON response has to overwrittwen (to add a new record, update an existing record, or remove a record)
- The sethosts method can be called and passed the modified JSON.
https://www.namecheap.com/support/api/methods/domains-dns/set-hosts/