API Documentation v2

Name

market/active

Description

Retrieves a list of active markets (i.e. cities with active deals).

URL

https://www.tippr.com/api/v2/market/active.xml

Supported Request Method

GET

Supported Return Formats

JSON (default), XML

Parameters

Required

api_key

Example Responses

JSON (default)

{     "response":{         "transaction_id":"da633151747a7281ee7f8b4fda272c77",         "requested_at":"2010-02-23 21:03:29",         "method":"market\/active",         "markets":[             {                 "id":"albany",                 "city":"Albany",                 "state":"New York",                 "url":"http:\/\/www.crowdsavings.com\/albany",                 "timezone":"America\/New_York",                 "twitter":"http:\/\/twitter.com\/crowdsavings",                 "facebook":"http:\/\/www.facebook.com\/home.php#!\/pages\/CrowdSavingscom-Albany-NY\/103933489653928",                 "latitude":"42.652579",                 "longitude":"-73.756232"             },             {                 "id":"tampa",                 "city":"Tampa",                 "state":"Florida",                 "url":"http:\/\/www.crowdsavings.com\/tampa",                 "timezone":"America\/New_York",                 "twitter":"http:\/\/twitter.com\/crowdsavings",                 "facebook":"http:\/\/www.facebook.com\/pages\/CrowdSavingscom-Tampa-Bay\/108944445798968",                 "latitude":"27.949436",                 "longitude":"-82.465144"             }         ]     } }

XML

<?xml version="1.0" encoding="UTF-8"?> <response>     <transaction_id>da633151747a7281ee7f8b4fda272c77</transaction_id>     <requested_at>2010-02-23 21:03:29</requested_at>     <method>market/active</method>     <markets>         <market>             <id>albany</id>             <city>Albany</city>             <state>New York</state>             <url>http://www.crowdsavings.com/albany</url>             <timezone>America/New_York</timezone>             <twitter>http://twitter.com/crowdsavings</twitter>             <facebook>http://www.facebook.com/home.php#!/pages/CrowdSavingscom-Albany-NY/103933489653928</facebook>             <latitude>42.652579</latitude>             <longitude>-73.756232</longitude>         </market>         <market>             <id>tampa</id>             <city>Tampa Bay</city>             <state>Florida</state>             <url>http://www.crowdsavings.com/tampa</url>             <timezone>America/New_York</timezone>             <twitter>http://twitter.com/crowdsavings</twitter>             <facebook>http://www.facebook.com/pages/CrowdSavingscom-Tampa-Bay/108944445798968</facebook>             <latitude>27.949436</latitude>             <longitude>-82.465144</longitude>         </market>     </markets> </response>