arajan/gps
Location Finder - Return a location given it's GPS coordinates
  README.md
# GPS Service Returns an address given a latitude and longitude. Thanks to Dave Johnson (http://thisdavej.com/) ## main - Function to be called ### Parameters #### Keyword arguments - lat: latitude - long: longitude ### Usage #### Command line Return a JSON object ```bash $ lib arajan.gps.main --lat 32.72 --long -117.16 ``` This returns the following JSON object: ```JSON { "zipcode": "92101", "state_abbr": "CA", "latitude": "32.719601", "longitude": "-117.16246", "city": "San Diego", "state": "California", "distance": 0.2343729936809432 } ``` #### HTTP GET Return a JSON object with city information based on latitude and longitude ```http https://f.stdlib.com/arajan/gps/main?lat=32.72&long=-117.16 ``` #### Web and Node.js ```js const f = require('f'); f('arajan.gps.main')({lat: 32.72, long: -117.16}, (err, response) => { // handle error or response }); ``` ## Author Abhay Rajan
  Published by arajan on Tuesday, April 11th, 2017, 11:56:27 AM
This service has 1 function
  main default function
  Pricing
 per request
 per second
  Function
   Arguments
[0] First argument
[1] Second argument
   Keyword Arguments
lat Keyword argument latitude
long Keyword argument longitude
   HTTPS Execution
default https://arajan.stdlib.com/gps
explicit https://arajan.stdlib.com/gps/main