Provide Pydantic types from FGO API
Project description
Types for FGO Game Data API
This is a package containing the Pydantic definitions of the objects returned by https://api.atlasacademy.io/rapidoc.
Example usage:
from fgo_api_types.enums import Trait
from fgo_api_types.gameenums import SvtType
from fgo_api_types.nice import NiceServant
r = httpx.get("https://api.atlasacademy.io/nice/NA/servant/200")
fujino = NiceServant.parse_raw(r.content)
assert Trait.genderFemale in fujino.traits
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 Distribution
fgo_api_types-2024.8.5.7.37.6.tar.gz
(101.5 kB
view details)
Built Distribution
File details
Details for the file fgo_api_types-2024.8.5.7.37.6.tar.gz
.
File metadata
- Download URL: fgo_api_types-2024.8.5.7.37.6.tar.gz
- Upload date:
- Size: 101.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78b74e44f5bf139981fbcaf7e4f5e68e2c96de39af2c9e85073dccf95d65e74e |
|
MD5 | eeeca5cb9d9259de312f901b52d885c3 |
|
BLAKE2b-256 | 64fade8c55984ec0d2d5dc6491ac220dae1e6f23cfd949aff50a8d0379ec6739 |
File details
Details for the file fgo_api_types-2024.8.5.7.37.6-py3-none-any.whl
.
File metadata
- Download URL: fgo_api_types-2024.8.5.7.37.6-py3-none-any.whl
- Upload date:
- Size: 104.8 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 | eb25692ee296ce0ae2a38a72c84c55359034b706549cbf0eb524e0d3793900fb |
|
MD5 | 8f8dca1690fff24486430ab24522e2d2 |
|
BLAKE2b-256 | 7d519b367776d936f1fb3b2fbdde0870017954b222e4c29d5e6841be9c1a8fa0 |