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

Uploaded Source

Built Distribution

fgo_api_types-2023.12.19.10.7.49-py3-none-any.whl (97.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.12.19.10.7.49.tar.gz
Algorithm Hash digest
SHA256 98c5eeb4b95111a94f91775c55eb1d7a971225801138f40df6bfe3afa8ad663e
MD5 e048f309771baa3c3c4a840959d0e72f
BLAKE2b-256 88618edae8907ec492addc15a5efd25e2d43e6ed2cdf0f969f3195d68835a3bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.12.19.10.7.49-py3-none-any.whl
Algorithm Hash digest
SHA256 7a7ec46ea5b1ce374f04d1e7bd826b38dfbf56c0b6665656f9e2ed83b4f643f9
MD5 5116794bb09ead50e979510c3e279491
BLAKE2b-256 165c0e8a5c01bc6828d1d9a369dc3f3fc069eec16009473b85d98c323619989b

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