Created
January 20, 2019 12:27
-
-
Save kassuts/61fb3015bcd5653a0594c9abdad24084 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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