|Abhishek Balam 2a3ea437a0 Spelling correction.||1 year ago|
|README.md||1 year ago|
|geo||1 year ago|
I have a travel blog where I need to mention lattitude and longitude of places for the google maps js script to mark on the map section of the site..
I had initially used Geolocator API of google itself, but it has a query limit, which my site keeps on exceeding…
So I found these a useful python package called Geolocator in which I can use alternative geolocator APIs for free.
Also, since the YAML matter will have lat and lng as string and I might need to copy it from the terminal every time I use geo, so I added copy-to-clipboard functionality. Ive used Pyperclip.
$ geo Varanasi
Lattitude: 25.3356491 Longitude: 83.0076292 Also copied to clipboard..
and when pasted, its in javascipt array format, ready to be parsed.