Find Events by Latitude/Longitude and Radius
import requests
response = requests.get(
url="https://api.predicthq.com/v1/events/",
headers={
"Authorization": "Bearer $ACCESS_TOKEN",
"Accept": "application/json"
},
params={
"within" : "[email protected],144.9715749",
"active.gte" : "2018-04-01",
"active.lte" : "2018-04-30",
"category" : "conferences,expos",
"sort" : "rank"
}
)
print(response.json())Last updated
Was this helpful?