On 21/10/15 01:18, Nym City via Tutor wrote:
def zip_search(query):
api_key = locu_api
url = 'https://api.locu.com/v1_0/venue/search/?api_key=' + api_key
zip = query.replace(' ', '%20')
final_url = url + '&zip=' + zip + "&category=restaurant"
jason_obj = urllib2.urlopen(
Hello,
Thank you for your feedback. Sorry it took me a while to revise my code but
here is my code with the changes:
import urllib2
import json
locu_api = 'redacted'
def locu_search(query):
api_key = locu_api
url = 'https://api.locu.com/v1_0/venue/search/?api_key=' + api_key
locality