I am building a site that queries data from the Active network about running races. When I do a search or get the asset detail of a particular race, I don't see any links for the race logo image. For example, on this race: http://www.active.com/running/fairlawn-oh/kick-up-your-heels-5k-and-stiletto-sprint-2011?ltcmp=141770<clickid=05_9219606_4f2ef8b0-3ae3-4c80-99d2-472f4f0bd0aa&1=running&2=fairlawn-oh&3=kick-up-your-heels-5k-and-stiletto-sprint-2011&cmp=10-2 there is a logo with this url: http://www.active.com/images/upimages/kickupyourheels.gif but in the asset detail XML, the <image> tag has 'http://www.activ.com/images/events/hotrace.gif.
Is there any way to get the race logo through the API?
You can get the event logo by making a call to the Asset Details API. This call, for example, http://api.amp.active.com/resource/assetservice/asset/5cf43679-f4fd-4ab4-b8d2-c1947c482499?api_key=u2hcu6p5qvwksr54gdz9rppz, will return the logo for the event you mention. The logo is contained in an element called "eventImageUrl".
Hi,
I am building a site that queries data from the Active network about running races. When I do a search or get the asset detail of a particular race, I don't see any links for the race logo image. For example, on this race: http://www.active.com/running/fairlawn-oh/kick-up-your-heels-5k-and-stiletto-sprint-2011?ltcmp=141770<clickid=05_9219606_4f2ef8b0-3ae3-4c80-99d2-472f4f0bd0aa&1=running&2=fairlawn-oh&3=kick-up-your-heels-5k-and-stiletto-sprint-2011&cmp=10-2 there is a logo with this url: http://www.active.com/images/upimages/kickupyourheels.gif but in the asset detail XML, the <image> tag has 'http://www.activ.com/images/events/hotrace.gif.
Is there any way to get the race logo through the API?
Thanks,
Joann
Message edited by joannpav 14 years ago
Tags
active Admin – 14 years ago
Hey Joann,
You can get the event logo by making a call to the Asset Details API. This call, for example, http://api.amp.active.com/resource/assetservice/asset/5cf43679-f4fd-4ab4-b8d2-c1947c482499?api_key=u2hcu6p5qvwksr54gdz9rppz, will return the logo for the event you mention. The logo is contained in an element called "eventImageUrl".
joannpav – 14 years ago
Just what I was looking for, thanks!