You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Aaron Parecki f78604aec3
Update README.md
2 weeks ago
controllers lock down fetching external icons or tile URLs to authenticated requests 6 months ago
data lock down fetching external icons or tile URLs to authenticated requests 6 months ago
lib fix token check 6 months ago
p3k lock down fetching external icons or tile URLs to authenticated requests 6 months ago
public add local docs for static maps 6 months ago
views add local docs for static maps 6 months ago
.gitignore lock down fetching external icons or tile URLs to authenticated requests 6 months ago
CONTRIBUTING.md prettier home page 7 years ago
LICENSE prettier home page 7 years ago
README.md Update README.md 2 weeks ago
composer.json remove unused config file 6 months ago
composer.lock add local docs for static maps 6 months ago

README.md

Atlas

Atlas is a set of APIs to look up information about locations.

Timezone

Retrieving the timezone at a lat/lng

  • /api/timezone?latitude=45.5118&longitude=-122.6433
  • /api/timezone?airport=PDX

Geocoder

Retrieving the lat/lng for a named location

  • /api/geocode?input=309+SW+6th+Ave,+Portland,+OR

Retrieving a named location from a lat/lng

  • /api/geocode?latitude=45.5118&longitude=-122.6433
  • /api/geocode?latitude=45.5118&longitude=-122.6433&date=2016-07-012T09:00:00Z and return the local time of the given timestamp

Weather

Retrieving the current weather for a lat/lng

  • /api/weather?latitude=45.5118&longitude=-122.6433&apikey=XXX

You'll need to pass an OpenWeatherMap.org API key in the request. Icon names reference the weather-icons icon font.

Static Maps

  • /map/img?marker[]=lat:45.5165;lng:-122.6764;icon:small-blue-cutout&basemap=gray&width=600&height=240&zoom=14

Full Static Maps Docs

License

Available under the Apache 2.0 license. See LICENSE.

Copyright 2015-2022 by Aaron Parecki.