Minor tweak to Namecheap domain availability API scrape

As you know, we have a tool built that checks for domain availability using the Namecheap API.

Here's the codebase for the tool:

[url removed, login to view]

When checking the availability for 1 or just a few (under say 15) domains, everything works fine.

This is an example of what is returned:

[url removed, login to view]

However, the Namecheap API has some limits to how many domains can be requested in the API call. If the request is too big, then Namecheap does not return any results.

Here's an example of this:

[url removed, login to view]

You can see the [url removed, login to view] example. At first it's reported that the domain does have the .cm domain available, and then if included in a large batch, it's suggested that the domain is not available.

The problem is that this is very misleading. The X mark suggests the domain is available, when in fact it may just show that Namecheap did not return an answer.

The solution here, I think, is that we show a new symbol: "?", if we do not know the status of the domain availability. So if the API response gives an error, then we show the "?", and only show a "X" if we know is not available.

Should only take 10-minutes to make the hack. But you can record 1-hour for the $7.


Taidot: PHP

Näytä lisää: namecheap, domain api, domain checking, api status, namecheap api limits, symbol api, record checks, domain status, scrape domains, api scrape, image scrape, api domain tool, namecheap api, scrape tool, scrape image, minor error, hack image, domain availability api, cl scrape, api plesk suspend domain, api scrape google search results, image hack, tool checking availability domain names, domain availability tool, ebay api scrape

Tietoa työnantajasta:
( 104 arvostelua ) Sussex, United Kingdom

Projektin tunnus: #4246348

1 freelanceri on tarjonnut keskimäärin 7 $ tähän työhön


Hired by the Employer

$7 USD / tunti
(164 arvostelua)