# gisapi-sdk-python
Python SDK for GISAPI.io
# Install
```console
pip install gisapi-sdk
```
## Usage
```python
from gisapi import client
api = client.GISAPIClient()
# regular search query. returns 200 raw results data
search_results = api.search_data("Florida")
# category search. returns 200 raw results from given category
category_results = api.get_data_by_category("Education and Research")
# returns dictionary of layer results in a list
layer_details = api.parse_layer_details(search_results)
# returns just a list of layer urls
layer_urls = api.get_layer_urls(search_results)
# returns list of host urls with no duplicates
host_urls = api.get_host_urls(search_results)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/GISDATAio/gisapi-sdk-python",
"name": "GISAPI-SDK",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "gis api sdk data",
"author": "Parker Dinkins",
"author_email": "parkerdinkins@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/4c/0a/11a6070a5d0ef645c7c78ba9c358dfff87025cf9397647d4b190cd8f98b6/gisapi_sdk-0.1.5.tar.gz",
"platform": null,
"description": "# gisapi-sdk-python\nPython SDK for GISAPI.io\n\n# Install \n```console\npip install gisapi-sdk\n```\n\n## Usage\n```python\nfrom gisapi import client\n\napi = client.GISAPIClient()\n\n# regular search query. returns 200 raw results data\nsearch_results = api.search_data(\"Florida\")\n\n# category search. returns 200 raw results from given category\ncategory_results = api.get_data_by_category(\"Education and Research\")\n\n# returns dictionary of layer results in a list\nlayer_details = api.parse_layer_details(search_results)\n\n# returns just a list of layer urls\nlayer_urls = api.get_layer_urls(search_results)\n\n# returns list of host urls with no duplicates\nhost_urls = api.get_host_urls(search_results)\n```\n",
"bugtrack_url": null,
"license": "GNU General Public License v3 (GPLv3)",
"summary": "GISAPI SDK enabling geospatial data search and discovery",
"version": "0.1.5",
"project_urls": {
"Homepage": "https://github.com/GISDATAio/gisapi-sdk-python"
},
"split_keywords": [
"gis",
"api",
"sdk",
"data"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2bab3c3cb4db7731733d0b1fd42832a2034b732a0cbdcbd115582670cb99ea4f",
"md5": "e7ab03422da015bbd6013d6512544f69",
"sha256": "899f2c9b6bf3f6c0f4847e9fa7b92c3ce7f3c1261f0b3f9999d1a7588029ede8"
},
"downloads": -1,
"filename": "GISAPI_SDK-0.1.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e7ab03422da015bbd6013d6512544f69",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 15325,
"upload_time": "2025-01-21T13:08:33",
"upload_time_iso_8601": "2025-01-21T13:08:33.220193Z",
"url": "https://files.pythonhosted.org/packages/2b/ab/3c3cb4db7731733d0b1fd42832a2034b732a0cbdcbd115582670cb99ea4f/GISAPI_SDK-0.1.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4c0a11a6070a5d0ef645c7c78ba9c358dfff87025cf9397647d4b190cd8f98b6",
"md5": "57951099629f426af32a5717fd2e8cfd",
"sha256": "f6d20dc7508349c3801c7170989510f90baaffb9e4064bacc3c07b94b97f67f4"
},
"downloads": -1,
"filename": "gisapi_sdk-0.1.5.tar.gz",
"has_sig": false,
"md5_digest": "57951099629f426af32a5717fd2e8cfd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 15937,
"upload_time": "2025-01-21T13:08:36",
"upload_time_iso_8601": "2025-01-21T13:08:36.437438Z",
"url": "https://files.pythonhosted.org/packages/4c/0a/11a6070a5d0ef645c7c78ba9c358dfff87025cf9397647d4b190cd8f98b6/gisapi_sdk-0.1.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-21 13:08:36",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "GISDATAio",
"github_project": "gisapi-sdk-python",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "gisapi-sdk"
}