apiverve-airportslookup


Nameapiverve-airportslookup JSON
Version 1.0.11 PyPI version JSON
download
home_pageNone
SummaryAirports is a simple tool for getting airport data. It returns the airport name, location, and more.
upload_time2024-05-26 02:46:08
maintainerNone
docs_urlNone
authorNone
requires_python>=3.12
licenseNone
keywords airports airport data airport lookup airport api airport data api
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Airports Lookup API
============

Airports is a simple tool for getting airport data. It returns the airport name, location, and more.

![Build Status](https://img.shields.io/badge/build-passing-green)
![Code Climate](https://img.shields.io/badge/maintainability-B-purple)
![Prod Ready](https://img.shields.io/badge/production-ready-blue)

This is a Python API Wrapper for the [Airports Lookup API](https://apiverve.com/marketplace/api/airports)

---

## Installation
	pip install apiverve-airportslookup

---

## Configuration

Before using the airports API client, you have to setup your account and obtain your API Key.  
You can get it by signing up at [https://apiverve.com](https://apiverve.com)

---

## Usage

The Airports Lookup API documentation is found here: [https://docs.apiverve.com/api/airports](https://docs.apiverve.com/api/airports).  
You can find parameters, example responses, and status codes documented here.

### Setup

```
# Import the client module
from apiverve_airportslookup.apiClient import AirportsAPIClient

# Initialize the client with your APIVerve API key
api = AirportsAPIClient("[YOUR_API_KEY]")
```

---


### Perform Request
Using the API client, you can perform requests to the API.

###### Define Query

```
query = { "iata": "MCI" }
```

###### Simple Request

```
# Make a request to the API
result = api.execute(query)

# Print the result
print(result)
```

###### Example Response

```
{
  "status": "ok",
  "error": null,
  "data": {
    "icao": "KMCI",
    "iata": "MCI",
    "name": "Kansas City International Airport",
    "city": "Kansas City",
    "state": "Missouri",
    "country": "US",
    "elevation": 1026,
    "lat": 39.2975997925,
    "lon": -94.7138977051,
    "tz": "America/Chicago",
    "city_info": {
      "name": "Kansas City",
      "altName": "",
      "country": "US"
    }
  }
}
```

---

## Customer Support

Need any assistance? [Get in touch with Customer Support](https://apiverve.com/contact).

---

## Updates
Stay up to date by following [@apiverveHQ](https://twitter.com/apiverveHQ) on Twitter.

---

## Legal

All usage of the APIVerve website, API, and services is subject to the [APIVerve Terms of Service](https://apiverve.com/terms) and all legal documents and agreements.

---

## License
Licensed under the The MIT License (MIT)

Copyright (©) 2024 APIVerve, and Evlar LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "apiverve-airportslookup",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12",
    "maintainer_email": null,
    "keywords": "airports, airport data, airport lookup, airport api, airport data api",
    "author": null,
    "author_email": "APIVerve <hello@apiverve.com>",
    "download_url": "https://files.pythonhosted.org/packages/07/dc/dfb066083127709c67a622960784c98026b049e899b368fd164ae7d147c7/apiverve_airportslookup-1.0.11.tar.gz",
    "platform": null,
    "description": "Airports Lookup API\r\n============\r\n\r\nAirports is a simple tool for getting airport data. It returns the airport name, location, and more.\r\n\r\n![Build Status](https://img.shields.io/badge/build-passing-green)\r\n![Code Climate](https://img.shields.io/badge/maintainability-B-purple)\r\n![Prod Ready](https://img.shields.io/badge/production-ready-blue)\r\n\r\nThis is a Python API Wrapper for the [Airports Lookup API](https://apiverve.com/marketplace/api/airports)\r\n\r\n---\r\n\r\n## Installation\r\n\tpip install apiverve-airportslookup\r\n\r\n---\r\n\r\n## Configuration\r\n\r\nBefore using the airports API client, you have to setup your account and obtain your API Key.  \r\nYou can get it by signing up at [https://apiverve.com](https://apiverve.com)\r\n\r\n---\r\n\r\n## Usage\r\n\r\nThe Airports Lookup API documentation is found here: [https://docs.apiverve.com/api/airports](https://docs.apiverve.com/api/airports).  \r\nYou can find parameters, example responses, and status codes documented here.\r\n\r\n### Setup\r\n\r\n```\r\n# Import the client module\r\nfrom apiverve_airportslookup.apiClient import AirportsAPIClient\r\n\r\n# Initialize the client with your APIVerve API key\r\napi = AirportsAPIClient(\"[YOUR_API_KEY]\")\r\n```\r\n\r\n---\r\n\r\n\r\n### Perform Request\r\nUsing the API client, you can perform requests to the API.\r\n\r\n###### Define Query\r\n\r\n```\r\nquery = { \"iata\": \"MCI\" }\r\n```\r\n\r\n###### Simple Request\r\n\r\n```\r\n# Make a request to the API\r\nresult = api.execute(query)\r\n\r\n# Print the result\r\nprint(result)\r\n```\r\n\r\n###### Example Response\r\n\r\n```\r\n{\r\n  \"status\": \"ok\",\r\n  \"error\": null,\r\n  \"data\": {\r\n    \"icao\": \"KMCI\",\r\n    \"iata\": \"MCI\",\r\n    \"name\": \"Kansas City International Airport\",\r\n    \"city\": \"Kansas City\",\r\n    \"state\": \"Missouri\",\r\n    \"country\": \"US\",\r\n    \"elevation\": 1026,\r\n    \"lat\": 39.2975997925,\r\n    \"lon\": -94.7138977051,\r\n    \"tz\": \"America/Chicago\",\r\n    \"city_info\": {\r\n      \"name\": \"Kansas City\",\r\n      \"altName\": \"\",\r\n      \"country\": \"US\"\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n---\r\n\r\n## Customer Support\r\n\r\nNeed any assistance? [Get in touch with Customer Support](https://apiverve.com/contact).\r\n\r\n---\r\n\r\n## Updates\r\nStay up to date by following [@apiverveHQ](https://twitter.com/apiverveHQ) on Twitter.\r\n\r\n---\r\n\r\n## Legal\r\n\r\nAll usage of the APIVerve website, API, and services is subject to the [APIVerve Terms of Service](https://apiverve.com/terms) and all legal documents and agreements.\r\n\r\n---\r\n\r\n## License\r\nLicensed under the The MIT License (MIT)\r\n\r\nCopyright (&copy;) 2024 APIVerve, and Evlar LLC\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Airports is a simple tool for getting airport data. It returns the airport name, location, and more.",
    "version": "1.0.11",
    "project_urls": {
        "Homepage": "https://apiverve.com"
    },
    "split_keywords": [
        "airports",
        " airport data",
        " airport lookup",
        " airport api",
        " airport data api"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "82d298fb1546eb37d9e1f06e09cbd61119db17daafe74af02e4a0a61088059e0",
                "md5": "e10b67d1e847face63d46a159b699971",
                "sha256": "43948f544b392e2c803fff5df2377a215cee60ad9086b4c52abb02ae514e96be"
            },
            "downloads": -1,
            "filename": "apiverve_airportslookup-1.0.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e10b67d1e847face63d46a159b699971",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12",
            "size": 6623,
            "upload_time": "2024-05-26T02:46:06",
            "upload_time_iso_8601": "2024-05-26T02:46:06.263342Z",
            "url": "https://files.pythonhosted.org/packages/82/d2/98fb1546eb37d9e1f06e09cbd61119db17daafe74af02e4a0a61088059e0/apiverve_airportslookup-1.0.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "07dcdfb066083127709c67a622960784c98026b049e899b368fd164ae7d147c7",
                "md5": "de96e959784dff2a9b0d041a15dd3cef",
                "sha256": "cd06db6ee022c2814f6aec1f03f828735a75a35281d5d0728dd4f2aafa08fa97"
            },
            "downloads": -1,
            "filename": "apiverve_airportslookup-1.0.11.tar.gz",
            "has_sig": false,
            "md5_digest": "de96e959784dff2a9b0d041a15dd3cef",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12",
            "size": 6767,
            "upload_time": "2024-05-26T02:46:08",
            "upload_time_iso_8601": "2024-05-26T02:46:08.077150Z",
            "url": "https://files.pythonhosted.org/packages/07/dc/dfb066083127709c67a622960784c98026b049e899b368fd164ae7d147c7/apiverve_airportslookup-1.0.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-26 02:46:08",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "apiverve-airportslookup"
}
        
Elapsed time: 0.59479s