Skip to content

Instantly share code, notes, and snippets.

@kassuts
Created January 20, 2019 12:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kassuts/61fb3015bcd5653a0594c9abdad24084 to your computer and use it in GitHub Desktop.
Save kassuts/61fb3015bcd5653a0594c9abdad24084 to your computer and use it in GitHub Desktop.
def genderize_api_connect(first_name):
url = 'https://api.genderize.io/?name={}'.format(first_name)
response = requests.get(url)
content = json.loads(response.content)
return content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment