Name | places-intel JSON |
Version |
0.2.3
JSON |
| download |
home_page | None |
Summary | A library for fetching and processing place data with polygons using Outscraper and Overpass APIs. |
upload_time | 2025-01-29 20:38:51 |
maintainer | None |
docs_url | None |
author | Blake Jennings |
requires_python | >=3.6 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Place Intel
`places-intel` is a Python library for fetching and processing place data with polygons using Outscraper and Overpass APIs.
## Installation
```bash
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")
Raw data
{
"_id": null,
"home_page": null,
"name": "places-intel",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Blake Jennings",
"author_email": "blake@workerbeetech.com",
"download_url": "https://files.pythonhosted.org/packages/ee/d6/d8a482fb6d4e48ece4094ffc85934b950fd21db896230491ada3777cbdae/places_intel-0.2.3.tar.gz",
"platform": null,
"description": "# Place Intel\r\n\r\n`places-intel` is a Python library for fetching and processing place data with polygons using Outscraper and Overpass APIs.\r\n\r\n\r\n## Installation\r\n\r\n```bash\r\npip install places-intel\r\n\r\n\r\n## Usage\r\n\r\n## Fetching Information for Multiple Places and ccreating a kml file\r\n\r\nfrom places_intel import multiple_place_intel, create_kml\r\n\r\napi_key = \"your-api-key\"\r\nplaces, polygons = multiple_place_intel(api_key, \"museums\", \"New York\", result_amount=5, radius=10)\r\nprint(places)\r\ncreate_kml(polygons, \"output.kml\")\r\n\r\n## Fetching Information for a Single Place\r\n\r\nfrom places-intel import single_place_intel, create_kml\r\n\r\napi_key = \"your-api-key\"\r\nplace, polygons = single_place_intel(api_key, \"Empire State Building\", radius=10)\r\nprint(place)\r\ncreate_kml(polygons, \"output.kml\")\r\n\r\n\r\n\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A library for fetching and processing place data with polygons using Outscraper and Overpass APIs.",
"version": "0.2.3",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b9ee98f3044b23d22563290babd1d1a13931b8aca9bd0a8868feb6de10e37f1d",
"md5": "50a5ee0a7d354fef51126e41236bcee2",
"sha256": "9b68f06187bb80ad599483a4a91c0e2b2cab452b32c0db7b1675a1af0c2cdfa7"
},
"downloads": -1,
"filename": "places_intel-0.2.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "50a5ee0a7d354fef51126e41236bcee2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 14863,
"upload_time": "2025-01-29T20:38:49",
"upload_time_iso_8601": "2025-01-29T20:38:49.872519Z",
"url": "https://files.pythonhosted.org/packages/b9/ee/98f3044b23d22563290babd1d1a13931b8aca9bd0a8868feb6de10e37f1d/places_intel-0.2.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "eed6d8a482fb6d4e48ece4094ffc85934b950fd21db896230491ada3777cbdae",
"md5": "5560b83a6ee121c237366dd506fb8a49",
"sha256": "fbc53266f356c5ebbdda2b42818ff6737b3a0d30c16e2254c684a6a231020fb0"
},
"downloads": -1,
"filename": "places_intel-0.2.3.tar.gz",
"has_sig": false,
"md5_digest": "5560b83a6ee121c237366dd506fb8a49",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 14598,
"upload_time": "2025-01-29T20:38:51",
"upload_time_iso_8601": "2025-01-29T20:38:51.672006Z",
"url": "https://files.pythonhosted.org/packages/ee/d6/d8a482fb6d4e48ece4094ffc85934b950fd21db896230491ada3777cbdae/places_intel-0.2.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-29 20:38:51",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "places-intel"
}