huangli
huangli

Reputation: 454

How to use whois in google app engine

I know there is pywhois but it can't used in gae, see this question. But i really need this function to verify whether a domain is registered, is there other way to implement whois by pure python? Thanks.

Upvotes: 2

Views: 531

Answers (1)

sahid
sahid

Reputation: 2610

You need to find a HTTP Api to get whois like http://www.whoisxmlapi.com/ and with urlfetch you can fetch informations.

An another solution is to create this webservice with a micro instance from AWS and install the module pywhois, you need to just create the interface in HTTP.

Upvotes: 4

Related Questions