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

Uploaded Source

Built Distribution

fgo_api_types-2024.1.18.0.3.3-py3-none-any.whl (97.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.1.18.0.3.3.tar.gz
Algorithm Hash digest
SHA256 355dec486d680535d827f420d576cbf129ab3bfd6208f7c99056b4f5cf506006
MD5 1b65544893dc72ff047ca0a6cb449012
BLAKE2b-256 9ac2fbbffd258c435aa034904137beaa4b416ad50553faef0f009abad1423ce4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.1.18.0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8a2f971048b2ce9a8719b5e167e4c8a77f27138af6b8da1e4a06beceb58f64e2
MD5 5a9d896f63ef42507b9e367d6ce3f9a3
BLAKE2b-256 92b5869d6969623eddca0a7d3e0f4b38394c2177eb008b4b16ccf7f5ff39dedc

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