Awards
GET /awards
Get all awards for currently authenticated User, like this:
$ curl http://fanvibe.com/api/awards <?xml version="1.0" encoding="UTF-8"?> <awards type="array"> <award> <id>4</id> <created_at>2010-03-28T02:59:50-07:00</created_at> <expires_on>2010-12-13T13:00:00-08:00</expires_on> <name>Most Dedicated Fan Contest!</name> <summary>The fan with the most MLB check-ins in April will receive a free MLB jersey of their choice. Check-in to as many games as you can!</summary> <description></description> <share_message>I just earned the Most Dedicated Fan Contest Award on Fanvibe!</share_message> <image_url>http://s3.amazonaws.com/fanpulse_awards_production/images/4/large.png?1271197931</image_url> </award> <award> <id>12</id> <created_at>2010-04-01T03:51:42-07:00</created_at> <expires_on>2010-12-13T13:00:00-08:00</expires_on> <name>Pro</name> <summary>You're now a pro user!</summary> <description>Being a pro unlocks benefits like enhanced shouts, detailed alerts, and pro status on your profile.</description> <share_message>I'm a Fanvibe Pro</share_message> <image_url>http://s3.amazonaws.com/fanpulse_awards_production/images/12/large.png?1276107041</image_url> </award> </awards>
GET /awards/first
Get the first check-in award for any user. This is used for awarding a user before they've created a Fanvibe account. This will return an award response, including a share message.
Parameters
- none
Example
$ curl http://fanvibe.com/api/awards/first <?xml version="1.0" encoding="UTF-8"?> <award> <id>8</id> <name>First Check-in</name> <share> <message>I just earned my First Check-in Award on Fanvibe!</message> <link>http://fanvibe.com</link> <name>First Check-in</name> <caption>Get this award on Fanvibe!</caption> <description>New to Fanvibe? Fans who make their first check-in will get this awesome award.</description> <image>http://s3.amazonaws.com/fanpulse_awards_development/images/8/large.png?1274749970</image> </share> </award>
Next: Leagues →