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.0.tar.gz
(14.5 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.0.tar.gz.
File metadata
- Download URL: places_intel-0.2.0.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86ced184fbda8e13f9d32dd23c87cf61fc7dd0095aea84791b538857c16edcd1
|
|
| MD5 |
74e0b7872f0183ab447fcd0476fd6f66
|
|
| BLAKE2b-256 |
bb04ac2a644c2fb5d73f4b6be7ccfb115d2667932f81df1d7d97484a16649d7c
|
File details
Details for the file places_intel-0.2.0-py3-none-any.whl.
File metadata
- Download URL: places_intel-0.2.0-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 |
e76faef615611e7224b2721bd29f346d70560ca195f3e4911742e25c8e94186c
|
|
| MD5 |
de3d96df31f6a8d843041f6a6bec65c9
|
|
| BLAKE2b-256 |
22689af911054f0925463adfecddbfde86ed5bba2bc05cf52556c017bafdb7bf
|