Skip to content

Instantly share code, notes, and snippets.

@ilyakamens
Created April 5, 2018 04:20
Show Gist options
  • Save ilyakamens/123c177a714cc24ad4e965e89560b987 to your computer and use it in GitHub Desktop.
Save ilyakamens/123c177a714cc24ad4e965e89560b987 to your computer and use it in GitHub Desktop.
Appcast location test with city and state
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