Namecheap-dot-net
Namecheap-dot-net copied to clipboard
A .NET wrapper for the Namecheap API
The following code throws an exception: ```csharp var api = new NameCheapApi("{username}", "{apiUser}", "{apiKey}", "{clientIp}"); DnsHostResult result = api.Dns.GetHosts("{sld}", "com"); api.Dns.SetHosts("{sld}", "com", result.HostEntries); ``` Exception details: Message: `Object reference not...
The README notes that the `SetHosts` method requires a `DnsHostsRequest` object, but that no longer seems to be the case
Among other things, HttpClient allows mocking, which we could use because creating new domain each test run doesn't work well even in the sandbox. https://stackoverflow.com/questions/20530152/deciding-between-httpclient-and-webclient
Two overloaded GetList methods, with test methods for them. 1) GetList(int page = 1, int pageSize = 20, string listType = "ALL") 2) GetList(string listType, string searchTerm, int page, int...
Currently it is the default method. But it can have parameters. Atleast, PageSize.  [https://www.namecheap.com/support/api/methods/domains/get-list.aspx](url)
Use Azure Pipelines or AppVeyor or Travis or etc. The tricky part is that the IP (or IPs) of the build agent needs to be known ahead of time in...
`NameCheapApi`, or at a minimum the properties it returns, should implement interfaces in order to allow the API to be mocked for testing purposes. - [ ] `DomainsApi` should be...
https://www.sandbox.namecheap.com/support/api/methods.aspx ### users - [ ] getPricing — Returns pricing information for a requested product type. - [ ] getBalances — Gets information about fund in the user's account.This method...
ssl - https://www.sandbox.namecheap.com/support/api/methods.aspx - [ ] create — Creates a new SSL certificate. - [ ] activate — Activates a newly purchased SSL certificate. - [ ] getInfo — Retrieves...