• Register

ACTIVE Network API Forums

Activity Search API v2

RSS Feed

Event Name

    • Capitis Media
    • Topic created 11 years ago

    I'm using the api to return events around a specific area. In this case 5 miles around Charleston, SC

    Here's the URL - http://api.amp.active.com/v2/search?category=event&near=Charleston,SC,US&radius=5&api_key=25SJSM3DMR8GQUFX8HB7PRUP

    There are a number of events for which the AssetName just isn't descriptive enough to tell me what this event is. For example.

    AssetGuid 52085755-a188-442a-83ff-d1d044666a9e lists an AssetName of "Kid's Race - April 4th".

    For that event there's no organization information. I personally know that the Kid's Race is part of this bigger event - http://www.bridgerun.com/. But I cannot find anything in the json. There are a few other events that also have a similar problem.

    In addition to that I seem to be getting a number of duplicate events. See all events under the organization "Canine Cancer Care Inc.". AssetGuid 1b5d0cdb-d815-4208-90ba-a6ab2e3e2592, Kids Fun Run -1 Mile (Ages 7-14) - Individual Age group\/open, seems to be duplicated 4 times in the json.

    Message edited by Capitis Media 11 years ago

  1. ManOVision11 years ago

    I was seeing similar results so I added exclude_children=false which, for the life of me I don't know why, defaults to true. See here: http://developer.active.com/docs/read/v2_Activity_API_Search

    This made my results seem much better.

  2. ManOVision11 years ago

    Whoops, I had it backwards. I use exclude_children=true. It seems to default to false, even though the docs say it is true. As soon as I put exclude_children=true, my results were much better.

[ Page 1 of 1 ]