Wrapper for creativecommons.tankerkoenig.de API
Project description
Tankerkoenig-Python
Python wrapper for the creativecommons.tankerkoenig.de API
Note: The API is under Creative Commons (CC BY 4.0) license. It is used by many clients so please restrict API calls to the minimum. Every request requires an API key that can be requested here
Example
import tankerkoenig
from tankerkoenig import models
client = tankerkoenig.Client(api_key="00000000-0000-0000-0000-000000000002")
petrol_stations = client.list(
lat=50.114634,
lng=8.687657,
rad=2,
petrol_type=models.Petrol.DIESEL,
sort=models.SortingMethod.DISTANCE,
)
print(petrol_stations)
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
tankerkoenig-0.0.1.tar.gz
(7.7 kB
view hashes)
Built Distribution
Close
Hashes for tankerkoenig-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc6b9cb8bdbf4f9e972150282920c94dd176023d47381d289a91d7bd1ebbee4c |
|
MD5 | a74b3472ee7283fa64049d808c4d5d4a |
|
BLAKE2b-256 | c0c98aea0ab743d84f6f9e945892b6b67a501106c685860b100ba392e73b3f80 |