Skip to main content

Optimized Geo API for Vietnam

Project description

Geo API Vietnam 🇻🇳

Geo API Vietnam is a package that helps you find locations in Vietnam with strongly cleaned data.

https://github.com/tranngocminhhieu/geo-api-vietnam MIT Pypi

Main fuction:

  • Clean up and correct spelling for Province and District.
  • Search location by keyword or coordinates.

Location object with properties:

  • address: The address has been formatted correctly.
  • province: Province is spelled correctly.
  • district: District is spelled correctly.
  • ward: Ward is spelled correctly.
  • latitude: Latitude of the location.
  • longitude: Longitude of the location.
  • source: Origin of original_address, including Excel, SQLite, GeoPy, and Google Maps API.
  • original_address: Address from the above sources.
  • json_data: The location's data is in the form of a dictionary.

How it works

  • Use Vietnam location data to clean up and correct typos.
  • Use APIs from GeoPy and Google Maps (Google Geocoding) to search for locations online.
  • Use Excel and SQLite to save data locally.
  • Search location in smart order: Excel > SQLite > GeoPy > Google Maps.

How to install

Install with Pip

Install new package.

pip install geoapivietnam

Upgrade to the latest version.

pip install geoapivietnam --upgrade

Install with GitHub

Install new package.

pip install git+https://github.com/tranngocminhhieu/geo-api-vietnam.git

Upgrade to the latest version.

pip install git+https://github.com/tranngocminhhieu/geo-api-vietnam.git --upgrade

How to use

Import module and read Sample usage notebook to explore this module.

from geoapivietnam import Correct, GetLocation

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

geoapivietnam-0.2.4-py3-none-any.whl (292.9 kB view details)

Uploaded Python 3

File details

Details for the file geoapivietnam-0.2.4-py3-none-any.whl.

File metadata

File hashes

Hashes for geoapivietnam-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cb03d9b3beb88eb203d89862795166ed0898090f8df22d9f19138d7c654cc4fb
MD5 2679d878cdeab4d3014deb93cf087233
BLAKE2b-256 be54fd2bf8a11525e268cf81180e0f326d94112ab001dd6508edc60bf702ddd2

See more details on using hashes here.

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