Skillnad mellan versioner av "TurfAPI V2"
Drassen (Diskussion | bidrag) (→Usage) |
Drassen (Diskussion | bidrag) (→Usage) |
||
Rad 3: | Rad 3: | ||
Will take you to a page asking you to be more specific. | Will take you to a page asking you to be more specific. | ||
− | + | '''RSS''' | |
http://api.turfgame.com/v2/rss | http://api.turfgame.com/v2/rss | ||
Fetches an RSS-feed containing the 10 latest takeovers in the game. | Fetches an RSS-feed containing the 10 latest takeovers in the game. |
Versionen från 25 januari 2013 kl. 13.17
Usage
http://api.turfgame.com/v2 Will take you to a page asking you to be more specific.
RSS http://api.turfgame.com/v2/rss Fetches an RSS-feed containing the 10 latest takeovers in the game.
http://api.turfgame.com/v2/rss/stockholm/göteborg/skåne Adding regions to the url will make the rss only show takeovers from those regions.
http://api.turfgame.com/v2/rss/stockholm/?antal=45 the GET-variable "antal" lets you choose the number of takeovers to be returned. maximum 100.