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

Uploaded Source

Built Distribution

fgo_api_types-2024.4.26.23.15.36-py3-none-any.whl (101.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.26.23.15.36.tar.gz
Algorithm Hash digest
SHA256 ce1809f94607dedf2e30387e19d29dd0a474fe7c8c6f7917a53cdcf1a972e764
MD5 e640152313f12f752f60c920605a96ee
BLAKE2b-256 5c1f53bdefee5e53ad8f97959e85aea32be1dfdbd66aaea981ea8e46d5b1abae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.26.23.15.36-py3-none-any.whl
Algorithm Hash digest
SHA256 2525b0e35e00e5029ef1d4c0e8a544fb3961f836d464863e6493a3e58483d07f
MD5 f43be1ea432ee379f68ded607c7bd38d
BLAKE2b-256 061b9ddb9261acfb6a945614d866723c5d4370d8204c04af8002d1244017abc7

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