Last active
November 6, 2016 22:36
-
-
Save rosiecakes/77747cab40f76e0025a11d8b739cb872 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
status_code_example = requests.get('http://api.open-notify.org/iss-pass.json').status_code | |
params = {'lat': 37.78, 'lon': -122.41} | |
response = requests.get('http://api.open-notify.org/iss-pass.json', params=params) | |
content = response.content | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment