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.2.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.2-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: places_intel-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 a1d7c31bfc539e9199c564261c9ad6c74e19c56962b1b2a249a6aab52abb8449
MD5 3e6882950d9f6bbd9090c9d5deb8ac18
BLAKE2b-256 b47b2a60bb54814f86832f9b1f31b64334775964148017d54e9248b91ace5b76

See more details on using hashes here.

File details

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

File metadata

  • Download URL: places_intel-0.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0b836b3dcb10bc2f10bb20388079306744001d3bacfccc94e389f4f6e297a675
MD5 47bbc2e0ff1169fb63351dc76bb2e2c7
BLAKE2b-256 2cf88ac096e0737c0e7b0ca5e015849e79cc3f1ce4457a865256a8e04b48510d

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