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

Uploaded Source

Built Distribution

fgo_api_types-2024.4.26.4.43.57-py3-none-any.whl (100.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.26.4.43.57.tar.gz
Algorithm Hash digest
SHA256 66b72cc09415108c7a88251883a6d397e7154e95e48894b9d5e3fdeb249e6461
MD5 cf75c158637e15799a445a40713caa5d
BLAKE2b-256 e9a7ed44baba078453bc20758f406b6fba715f93eebd7bbee2adab4d38c9b1c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.26.4.43.57-py3-none-any.whl
Algorithm Hash digest
SHA256 ee84bde2cd5eaa69154dd909c50e126c680bd9b7a0a123dade6a90d10dccf06a
MD5 d4a17546fb59c600ff56eb0614495c44
BLAKE2b-256 01bdf2d30ffc0aae714473c3e206cabb5963bcc265e07637fdfd55f8c6727160

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