I am using Eventbrite API to search events around me and to locate them on map,but I am unable to get the address information in search response.
Add one more param in your request like below:-
https://www.eventbriteapi.com/v3/events/search/?location.address=Indore&expand=organizer,venue&token=MY_EVENTBRITE_TOKEN
In your event search responses you should find a "venue_id"
field.
You will then need to make another call to the API to get the venue details:
For example: https://www.eventbriteapi.com/v3/venues/VENUE_ID/?token=YOUR_OAUTH_TOKEN
Returns ..
{
"address":{
"address_1":"101 foobar st",
"address_2":null,
"city":"Sydney",
"region":"NSW",
"postal_code":"2000",
"country":"AU",
"latitude":"-33.8737891",
"longitude":"151.213161",
"localized_address_display":"101 foobar st, Sydney, NSW 2000",
"localized_area_display":"Sydney, NSW",
"localized_multi_line_address_display":[
"101 foobar st",
"Sydney, NSW 2000"
]
},
"resource_uri":"https://www.eventbriteapi.com/v3/venues/25210646/",
"id":"25210646",
"age_restriction":null,
"capacity":null,
"name":"Sydney",
"latitude":"-33.8737891",
"longitude":"151.213161"
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With