How to get all venues belonging to one particular venue category?
Let's say I need all the venues in London under the 'Arts & Entertainment' category.
What is the API endpoint for that? What is the maximum venues limit in response?
Search for Venues - Foursquare Developer
https://developer.foursquare.com/docs/api/venues/search
You can use categoryId parameter to specify category.
Related
I am working with Foursquare api. Trying to find grocery stores/Supermarkets in the city of Norfolk, VA. When I do the search on foursquare.com, I get 30 in the city. When I use the API, it gives me 11, and a bunch of stores in surrounding cities.
I think the stores in the nearby cities eat into my limit of 50.
I've tried using both the "near" tag and the "ll" tag.
Is there a way to limit the search to just the specific city?
Good day everyone,
Am using amadeus self-service for the first time, i wanted to know if it was possible to get list of airports by their country.
Thanks for the assist.
We do not have a specific API that retrieves airports in given countries. However, you could use our Airport Nearest Relevant API.
This API allows you to find all the airports around specific coordinates (latitude & longitude). You can query the API with the coordinates of the specific country (like the center) and play with the radius parameter (note that the maximum value is 500 kms). This will give you all the airports in this search radius. You can then filter the response by countryName to only retrieve airports in the given country. Of course depending on the size of the country you may need to do this process with multiple geocoordinates.
The endpoint states that you have to use its Spotify ID to get its info. Is there a way to achieve this using the name of the artist instead of the ID?
GET https://api.spotify.com/v1/artists/{artist-name}
As you can imagine, there are many artists with the same or similar names! You should use the Search endpoint to search for the artist. This will return an artist object with the ID, which you can use in future calls.
I try to call a list of venues managed. However, it doesn't show me all my managed vanues. I have a venue group with 4 venues. Only one of it shows up in this list (probably the oldest one).
How can I retrieve all venues of this group? There seems to be no /venuegroups/managed/ call...
You can call the /venuegroups/GROUP_ID endpoint for complete information about a venue group.
In 4square venues API reference I've found parameter categoryId for inclusion some category venues. But I want to exclude some categories from my venues list (e.g. trains and airplane check-ins).
Is this feature available?
No it isn't, you'll need to retrieve the venues in the top-level category that you do want and then filter out those belonging to the categories that you don't want.