m14t/sots — Issue #397: Conservation Map APIs
Author: m14t
Created: 2012-01-26 20:42:27+00:00
State: open

/map/api/country.json

{
"CA":{
"state":"CA",
"country":"US",
"points":10
},
"MA":{
"state":"MA",
"country":"US",
"points":9
},
"ME":{
"state":"ME",
"country":"US",
"points":2
}
}

/map/api/top_cities.json

{
"Los Angeles, CA, US":{
"city":"Los Angeles",
"state":"CA",
"country":"US",
"points":10,
"latitude":34.0880507,
"longitude":-118.2965121
},
"Woburn, MA, US":{
"city":"Woburn",
"state":"MA",
"country":"US",
"points":7,
"latitude":42.4884618,
"longitude":-71.1329685
},
"Harrison, ME, US":{
"city":"Harrison",
"state":"ME",
"country":"US",
"points":2,
"latitude":44.1044545,
"longitude":-70.6438525
}
}

/map/api/state/MA.json

{
"Lowell, MA, US":{
"city":"Lowell",
"state":"MA",
"country":"US",
"points":65,
"latitude":42.6460285,
"longitude":-71.3646236
},
"Woburn, MA, US":{
"city":"Woburn",
"state":"MA",
"country":"US",
"points":9,
"latitude":42.4884618,
"longitude":-71.1329685
}
}