Work with the Fotoware API in Python
Project description
pyfwapi
Work with the Fotoware API in Python.
Examples
>>> from pyfwapi import Tenant
... fw = Tenant("https://tenant.example.org", client_id="abd123", client_secret="sekret")
...
... async for archive in fw.archives():
... print(a.name)
Marketing
Technical docs
Design considerations
The API responses are parsed using Pydantic. It's a hefty dependency, but -- for now -- allows easy parsing of the JSON responses. And it also enables easy integration with FastAPI.
Explorations of attrs
, cattrs
, and msgspec
failed to quickly result in satisfactory objects from the API JSON responses.
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
pyfwapi-0.2.0.tar.gz
(14.0 kB
view details)
Built Distribution
pyfwapi-0.2.0-py3-none-any.whl
(19.3 kB
view details)
File details
Details for the file pyfwapi-0.2.0.tar.gz
.
File metadata
- Download URL: pyfwapi-0.2.0.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 099e14791b162a1c75971a3277ac89f54e460aab77c756ab7c035710eb1dbb06 |
|
MD5 | 691c0aa67791e7187b799f6cd63186bb |
|
BLAKE2b-256 | b21028d1eb18ea9ede4e834096fd2a980bcc06bcdcf71478ff29fa10b3203cdb |
File details
Details for the file pyfwapi-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: pyfwapi-0.2.0-py3-none-any.whl
- Upload date:
- Size: 19.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f46b39ab4ed5b5fb46acca31268ffb0dee1b899461b178bede5f8f802f590d1f |
|
MD5 | c399b7b3d9241fc29669f0f669f28b6e |
|
BLAKE2b-256 | b1a0726ea38fb20abf9eb32a122fd766eca3cec79970f354599c65d4cb75037e |