@misingnoglic/

VirtualMisguidedRevisioncontrol

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
import requests

key = 'YOUR KEY HERE'

url = 'https://api.yelp.com/v3/businesses/search?term=food&location=90292'

r = requests.get(url, headers={'Authorization': 'Bearer {}'.format(key)})

for business in r.json()['businesses']:
  print(business['name'])