Created
April 5, 2018 04:20
-
-
Save ilyakamens/123c177a714cc24ad4e965e89560b987 to your computer and use it in GitHub Desktop.
Appcast location test with city and state
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
from pprint import pprint | |
import requests | |
if __name__ == '__main__': | |
pprint(requests.get('https://api.appcast.io/search', params={ | |
'token': '<token>', | |
'city': 'New York', | |
'state': 'NY', | |
'r': '1miles', | |
}).json()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment