Flywheel HTTP API client.
Project description
fw-client
Flywheel HTTP API client.
Installation
Add as a poetry
dependency to your project:
poetry add fw-client
Usage
from fw_client import FWClient
fw = FWClient(
api_key="site.flywheel.io:699uxdIh2wmqtdDyLJ",
client_name="my-app",
client_version="1.0",
)
projects = fw.get("/api/projects")
project_labels = [proj.label for proj in projects]
Development
Install the project using poetry
and enable pre-commit
:
poetry install
pre-commit install
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
fw_client-0.8.6-py3-none-any.whl
(15.9 kB
view details)
File details
Details for the file fw_client-0.8.6-py3-none-any.whl
.
File metadata
- Download URL: fw_client-0.8.6-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/5.15.154+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7297562451cbed89f38af6a8457600479f322cbf2be6bf177471b5f631128968 |
|
MD5 | da26e720f505ee8199c8f985a1b7b9d5 |
|
BLAKE2b-256 | 9d3faee139bd1ca01574058ad1d207cb762d7f407b2574e53a61d9a3136fc7fc |