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.1.4.tar.gz
(6.2 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.1.4.tar.gz.
File metadata
- Download URL: places_intel-0.1.4.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
623094c098cc071698e87479255bbcd723b744867184a91a493fc77851405305
|
|
| MD5 |
16b5df197a61feda554c6c3f255a73a8
|
|
| BLAKE2b-256 |
2e06d0d2a8680be2ef49bbe862b7a0f46cb190a8ac35c8f464475481b67fcc88
|
File details
Details for the file places_intel-0.1.4-py3-none-any.whl.
File metadata
- Download URL: places_intel-0.1.4-py3-none-any.whl
- Upload date:
- Size: 6.3 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 |
85fdec8da7e25b1b6a0fae35a2cd90763107ce7218c684e27140e2702b407acf
|
|
| MD5 |
d68fd64727c555a1227ef3793a2cfebe
|
|
| BLAKE2b-256 |
4e2f415faa03dbbed71a1c402b8b71764136c24d5766b078712dfd8ff560456a
|