HeiaHeia Api addition

78 views
Skip to first unread message

Matti

unread,
Jan 25, 2011, 4:16:27 AM1/25/11
to HeiaHeia Development Talk
I am implementing the HeiaHeia API to iphone application.
I can get the available sports though the API, but is there
possibility that the URL to the sport picture could be added to
response message?

eg:
<?xml version="1.0" encoding="UTF-8"?>
<sports>
<sport>
<name>Running</name>
<id>1</id>
<url>http://www.heiaheia.com/images/icons/sports/running.png</
url>
</sport>
<sport>
<name>Gym</name>
<id>3</id>
<url>http://www.heiaheia.com/images/icons/sports/gym.png</url>
</sport>
</sports>

It seems to be currently that I could just point to the url:
http://www.heiaheia.com/images/icons/sports/<sport name in low
case>.png and get the icons that way, but it would be safer if you
don't have to assume that the link generated this way works.

Ivan Kuznetsov

unread,
Jan 26, 2011, 9:15:18 AM1/26/11
to heiaheia-dev...@googlegroups.com
thanks for the suggestion, we'll add it to the API update
Reply all
Reply to author
Forward
0 new messages