py-wago-api
An asynchronous Python wrapper for the wago.tools API
Install
pip install git+https://github.com/Ghostopheles/py-wago-api.git
Usage
All responses are converted from their usual JSON format into Python objects.
from wago import WagoAPI
async def main():
client = WagoAPI()
fdid = 6420120
file = await client.get_file_by_fdid(fdid)
Methods
Builds
WagoAPI.get_all_builds(): Returns all builds that have been processed by wago.toolsWagoAPI.get_latest_build(product): Returns the latest build for the specified productWagoAPI.get_latest_build_for_all_products(): Returns the latest build for all products
Files
WagoAPI.get_file_by_fdid(fdid): Returns the contents of a CASC file by FileDataID- Optionally, provide a version to grab the file for the specified build (i.e. "11.0.7.58187")
WagoAPI.get_file_info_by_fdid(fdid): Returns metadata about a given CASC file by FileDataIDWagoAPI.get_all_files(): Returns all available files in the specified format, or json by default- Optionally, specify a version and format
Metadata
Release files for wago-api 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wago_api-0.0.1.tar.gz | 4.3 kB | Without provenance | Details for wago_api-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wago_api-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for wago_api-0.0.1-py3-none-any.whl |
Total release size: 9.7 kB
Release files / wago_api-0.0.1.tar.gz
| Download URL | wago_api-0.0.1.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d140b69e6e31f9bf695784516a97f88ef3c911c9e6a53ad63baf8df605bad0d7
|
|
BLAKE2b-256 checksum How to use checksums |
d7ceed1a38129fb039c018f1208c975faea41cb96997b9fe5177ad0dd4c8e715
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.9.21
|
Release files / wago_api-0.0.1-py3-none-any.whl
| Download URL | wago_api-0.0.1-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
837bafdae49247aa012ed1c9179a64b124e9583908fa44694be6e9f79218596c
|
|
BLAKE2b-256 checksum How to use checksums |
63c05cade34364fe237454bfbb8f4f572ffe4401dde03287ce6c850cfafef345
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.9.21
|
Security for wago-api 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.