Skip to main content

Gives the direction on Google Maps

Project description

GmapFinder

Installation

pip install gmapFinder

How to use it?

Here are the functions which will provide some results...
import gmapFinder

To get current location

gmapFinder.getCurrentLocation()
This will provide you a dictionary, in which you will get details like,
IP, City, Region, Country, Location, Org, Postal, Timezone

To get direction details

gmapFinder.getDirection("Lucknow, Uttar Pradesh", "Tokyo, Japan")
It requires 2 arguments,
StartingPoint (you don't have to put complete address, it will automatically calculate if not given complete) and DestinationPoint.
It will then return a dictionary having the
url of Google Map link,
total distance in (km, miles),
starting point and destination point address and location.
If you write "current" in address then, it will find the directions from your current location.

Thank You !!!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gmapFinder-1.0.2.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

gmapFinder-1.0.2-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page