A library for fetching and processing place data with polygons using Outscraper and Overpass APIs.
Project description
Place Intel
places-intel is a Python library for fetching and processing place data with polygons using Outscraper and Overpass APIs.
Installation
pip install places-intel
## Usage
## Fetching Information for Multiple Places and ccreating a kml file
from places_intel import multiple_place_intel, create_kml
api_key = "your-api-key"
places, polygons = multiple_place_intel(api_key, "museums", "New York", result_amount=5, radius=10)
print(places)
create_kml(polygons, "output.kml")
## Fetching Information for a Single Place
from places-intel import single_place_intel, create_kml
api_key = "your-api-key"
place, polygons = single_place_intel(api_key, "Empire State Building", radius=10)
print(place)
create_kml(polygons, "output.kml")
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
places_intel-0.2.1.tar.gz
(14.6 kB
view details)
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 places_intel-0.2.1.tar.gz.
File metadata
- Download URL: places_intel-0.2.1.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32914d679ae3baf32bdb7b797ef222acd666d2e40b8172d49f5c6ca4a8470dc7
|
|
| MD5 |
9486cae5c5dd978150d93c792cabfde6
|
|
| BLAKE2b-256 |
d0a3ccad014d5d0d85744dd6665849662e6a1665aed069e81cd7ae5f14c09a50
|
File details
Details for the file places_intel-0.2.1-py3-none-any.whl.
File metadata
- Download URL: places_intel-0.2.1-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d5371cee38e4b38f5e6038f17c0baebd7e16bd7900bcf7267d5e38a310ab339
|
|
| MD5 |
944a4577518f937b3c9f0676acfa7950
|
|
| BLAKE2b-256 |
1e7de220d602a3e0f62f64964944a08b19b8b8c192af7bb53517f1dc993c23e6
|