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
Built Distribution
File details
Details for the file fgo_api_types-2023.6.16.16.48.0.tar.gz
.
File metadata
- Download URL: fgo_api_types-2023.6.16.16.48.0.tar.gz
- Upload date:
- Size: 90.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/5.15.0-1039-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61a435e10823f15cc1044a06ca6a5dfd2730025008ced5ef9552c048ba4a61f5 |
|
MD5 | 32568df6869dbf71f677f7223160290f |
|
BLAKE2b-256 | c8726a92a79768bd99423ff35399d3294b30f5d5a4fd7e6f3c8f8f2ded1dd427 |
File details
Details for the file fgo_api_types-2023.6.16.16.48.0-py3-none-any.whl
.
File metadata
- Download URL: fgo_api_types-2023.6.16.16.48.0-py3-none-any.whl
- Upload date:
- Size: 93.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/5.15.0-1039-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68dcc61bdda29d0f69b79044576e1994b2f2d84b0e237b6fdfa21930a69d8e24 |
|
MD5 | 904d34f799386d9598a79e44d8f8aad9 |
|
BLAKE2b-256 | eb1dc28e7a64fb926931c576991597f68afecae1358bb20afeb398b2680b995e |