Skip to main content

A service that provides an alpha-3 country code from given coordinates

Project description

🌎 Geo country service API 🌎

A service to get alpha3 country code from provided coordinate point


Usage

Pass latitude and longitude coordinates to get_country_code function:

{"latitude": (float), "longitude": (float)}

Result contains message and result. If coordinate payload is valid Alpha-3 country will be stored in result.

Example:

from geo_country_service import get_country_code


result = get_country_code(latitude=45.123, longitude=-25.123)
print(result)

Result

{"message":"success","result":"LTU"}

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

geo_country_service-0.4.0.tar.gz (6.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geo_country_service-0.4.0-py3-none-any.whl (6.9 MB view details)

Uploaded Python 3

File details

Details for the file geo_country_service-0.4.0.tar.gz.

File metadata

  • Download URL: geo_country_service-0.4.0.tar.gz
  • Upload date:
  • Size: 6.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.10

File hashes

Hashes for geo_country_service-0.4.0.tar.gz
Algorithm Hash digest
SHA256 1a9e232a4fcf74246f5369340dd7a547419b1f2c942ac967ac4ee4ca11bac1f2
MD5 fafe0d43aba01d092dca3f3a91fc069d
BLAKE2b-256 91e167a805190c443349b67c392630d90a9fa151bf26e9ac1bbce718580eb115

See more details on using hashes here.

File details

Details for the file geo_country_service-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for geo_country_service-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0686f3f1f983f15edb923cb02171cbe902982d074cd9ce2d77c39e54969a626d
MD5 5e48e55c4644d9b5f6a2193311e172df
BLAKE2b-256 ddb571f54938581154fe45bca286833812d55b02add5dc257b1e8ce7eae40bc2

See more details on using hashes here.

Supported by

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