Error In querying Genderize.io. Can someone please help
gordon at panix.com
Thu Dec 1 17:31:46 EST 2016
In <af121073-5d8f-4fcd-933e-4f9ba8be279f at googlegroups.com> handar94 at gmail.com writes:
> import requests
> import json
> for name in names:
You're using http: instead of https:, and you're using ?katty instead
of ?name=katty, and therefore the host does not recognize your request
as an API call and redirects you to the normal webpage.
John Gordon A is for Amy, who fell down the stairs
gordon at panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
More information about the Python-list