Skip to main content

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.3.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

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

places_intel-0.2.3-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file places_intel-0.2.3.tar.gz.

File metadata

  • Download URL: places_intel-0.2.3.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

Hashes for places_intel-0.2.3.tar.gz
Algorithm Hash digest
SHA256 fbc53266f356c5ebbdda2b42818ff6737b3a0d30c16e2254c684a6a231020fb0
MD5 5560b83a6ee121c237366dd506fb8a49
BLAKE2b-256 eed6d8a482fb6d4e48ece4094ffc85934b950fd21db896230491ada3777cbdae

See more details on using hashes here.

File details

Details for the file places_intel-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: places_intel-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.13

File hashes

Hashes for places_intel-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9b68f06187bb80ad599483a4a91c0e2b2cab452b32c0db7b1675a1af0c2cdfa7
MD5 50a5ee0a7d354fef51126e41236bcee2
BLAKE2b-256 b9ee98f3044b23d22563290babd1d1a13931b8aca9bd0a8868feb6de10e37f1d

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