I'm having trouble locating certain events using the API that do appear in the regular Active.com search listings. I've tried a number of variations of the parameters including the meta channel and others.
We are making some updates to the API that will enhance the geolocation filtering and allows for more relevant results. This will be available when we release the v2 Activity Search API. The new version will also include more event results as well. In the meantime, if you are looking for specific events, you can find them via the API by using the following call:
In the 'm=meta:' parameter, simply enter 'assetId=5dcfded2-f568-473b-b66f-97e16e18089f'. Be sure to use the correct assetID. You can find this by locating the event on ACTIVE.com and then viewing the source code on the page to find the assetID.
I'm having trouble locating certain events using the API that do appear in the regular Active.com search listings. I've tried a number of variations of the parameters including the meta channel and others.
For example, this upcoming event in my area does not seem to come up in searches through the API: http://www.active.com/running/woburn-ma/11th-annual-run-your-hangover-off-2013
Here's the query I'm using:
http://api.amp.active.com/search/?v=json&r=3.26&f=activities&s=date_asc&m=meta%3Achannel%3DRunning+meta%3AstartDate%3Adaterange%3A12%2F20%2F2012..1%2F20%2F2013&num=50&l=42.47%3B-71.16&api_key=xxx
Do I have some parameters wrong?
Thanks!
Message edited by jonrklein 12 years ago
jarredd – 12 years ago
Hello Jon,
We are making some updates to the API that will enhance the geolocation filtering and allows for more relevant results. This will be available when we release the v2 Activity Search API. The new version will also include more event results as well. In the meantime, if you are looking for specific events, you can find them via the API by using the following call:
http://api.amp.active.com/search-all/?m=meta:assetId=5dcfded2-f568-473b-b66f-97e16e18089f&v=json&api_key=xxxx
In the 'm=meta:' parameter, simply enter 'assetId=5dcfded2-f568-473b-b66f-97e16e18089f'. Be sure to use the correct assetID. You can find this by locating the event on ACTIVE.com and then viewing the source code on the page to find the assetID.
Best, Jarred