Skip to main content

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.28.19.54.41.tar.gz (102.8 kB view details)

Uploaded Source

Built Distribution

fgo_api_types-2024.8.28.19.54.41-py3-none-any.whl (106.1 kB view details)

Uploaded Python 3

File details

Details for the file fgo_api_types-2024.8.28.19.54.41.tar.gz.

File metadata

File hashes

Hashes for fgo_api_types-2024.8.28.19.54.41.tar.gz
Algorithm Hash digest
SHA256 d273aeb676fb1d6df74588f97b5559dbad80a7d9fc3d82d9adf31065cde3b461
MD5 129469e9ad3ad8690e1822b81eda9883
BLAKE2b-256 fdbcb45a447ce9f8711bba7ec3691af69d2e747c854667d4c42bcb5a4e38dbad

See more details on using hashes here.

File details

Details for the file fgo_api_types-2024.8.28.19.54.41-py3-none-any.whl.

File metadata

File hashes

Hashes for fgo_api_types-2024.8.28.19.54.41-py3-none-any.whl
Algorithm Hash digest
SHA256 b23683077d8b445af453851f3c0581ade4f6570b7e7d54f4469effe68753dec0
MD5 198be714bd5aa334c20cf83cc58c858b
BLAKE2b-256 349f52281e20a9be798600291933a27c1cea7ccab044e4bb6777e24020b93660

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page