Welcome, Guest Sign In | Sign Up | Help
Upcoming API Documentation
Currently, the use of these APIs are restricted to non-commercial use only. If you'd like to use it for commercial purposes, please contact us first.
metro.getInfo [HTTP GET]
Retrieve the details about a metro.
Arguments
api_key (Required)
Your API application key. If you don't have one, create one.

metro_id (Required)
The metro_id number of the metro to look within. To find metro_id's, use metro.getList. To run getInfo on multiple metros, simply pass a comma-separated list of metro_id numbers.

Example Response
<?xml version="1.0" encoding="UTF-8"?>
<rsp stat="ok" version="1.0">
  <metro id="1" name="Los Angeles" code="la" state_id="5"
    state_name="California" state_code="ca" country_id="1"
    country_name="United States" country_code="us"/> 
  <metro id="19" name="Orange County" code="oc" state_id="5"
    state_name="California" state_code="ca" country_id="1"
    country_name="United States" country_code="us"/> 
  <metro id="45" name="San Francisco Bay Area" code="sfba" state_id="5"
    state_name="California" state_code="ca" country_id="1"
    country_name="United States" country_code="us"/>
</rsp>		
Error Codes
404 Not Found:
  • Missing valid api_key - Please create an API key using the above link.
  • Your api_key is inactive or not found - Please contact us for support.
  • Missing valid metro_id parameter - Your metro_id may be improperly formatted or non-numeric. Only numeric metro_id's are allowed.
Tools
Upcoming Badges for Your Blog/Website | Invite Friends | Groups | Developers API
Help
News Blog | Community Guidelines | FAQ | Contact Us | Suggestion Board