Skip to main content

Client library for NSW Fuel API

Project description

nsw-tas-fuel-api-client

API Client for New South Wales (Australia) Government Fuel Check Service providing fuel prices for NSW and TAS.

Why

Allows an application, such as Home Assistant, to integrate data from the NSW Fuel Check API. See also Home Assistant Integration https://github.com/bicycleboy/nsw_fuel_station.

What

This repository contains multiple files, here is a overview:

File Purpose Documentation
.github/ISSUE_TEMPLATE/*.yml Templates for the issue tracker Documentation
nsw_fuel/*.py Integration files, this is where everything happens.
demo.py A hack to demonstrate and explore the API
tests/test_*.py Unit and api integration tests.
LICENSE The license file for the project. Documentation
pyproject.toml Python setup and configuration for this integration. Documentation
README.md The file you are reading now. Documentation

Blame

This update is based on nickw444/nsw-fuel-api-client particularly dto.py (thanks Nick), it is not backwardly compatible and has not been reviewed by the original author.

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

nsw_tas_fuel_api_client-0.0.1.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nsw_tas_fuel_api_client-0.0.1-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file nsw_tas_fuel_api_client-0.0.1.tar.gz.

File metadata

  • Download URL: nsw_tas_fuel_api_client-0.0.1.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for nsw_tas_fuel_api_client-0.0.1.tar.gz
Algorithm Hash digest
SHA256 1abe4323145cb66ca9f386acc883042ef5161f5a5195a9a3aa3f6490a4deb10e
MD5 f87bde371bc4cc75aa93d87bd4ee05e1
BLAKE2b-256 aacb57d998edf1facd7c9fbd7ec1126968c955f44f710b78063e155b65a85d17

See more details on using hashes here.

File details

Details for the file nsw_tas_fuel_api_client-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nsw_tas_fuel_api_client-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6eea6ee0a73980c5e089d1a5207983a7fdc160e09d394081245ac18a79a734a4
MD5 2edeea8cc2a4be91a09fe39565bca75a
BLAKE2b-256 2f3166a03c9f284ddde9a30d10668622daa958f2786f7718be27198332911a99

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