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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file geo_country_service-0.5.0.tar.gz.
File metadata
- Download URL: geo_country_service-0.5.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9ac56132206b21c1efe8f9fbb5a899cb63c4eda1dd16819b491529b1ae1e615
|
|
| MD5 |
55346d3a75128f0ccbdeb8657d75f632
|
|
| BLAKE2b-256 |
17e7c8fbb0230efc6e0b5d0e3eced7b0a5f605b25899768315330f28d0e9be08
|
File details
Details for the file geo_country_service-0.5.0-py3-none-any.whl.
File metadata
- Download URL: geo_country_service-0.5.0-py3-none-any.whl
- Upload date:
- Size: 6.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd076d50a6a8ea276075636a124c7af01bab019fb7b61a173b892b177b90e257
|
|
| MD5 |
8f185e4d952c090195f30413b75dfcfa
|
|
| BLAKE2b-256 |
de4b704f5b0a7031deb014fc4abd47b7ff66f165debf0673c83100e03d547665
|