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

Uploaded Source

Built Distribution

fgo_api_types-2024.8.28.18.40.21-py3-none-any.whl (105.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.28.18.40.21.tar.gz
Algorithm Hash digest
SHA256 c33ef961bf79491c97d170b208da8290473a8e09f0505fb748592cbc97372daf
MD5 30926d76639f0eea089f73acf811a26e
BLAKE2b-256 e558eb2572124f3287a65b301fdb0b390d4f2d9abb22e24fbfc576f2393ce2aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.28.18.40.21-py3-none-any.whl
Algorithm Hash digest
SHA256 c7d0b4baf75ff3a1a0c073b7406eeab2e1d720f500963667aadcf3a074ce2885
MD5 9946b35119574e4a00f6f73d072671a9
BLAKE2b-256 9532aa7d268e95498b4cc694c7898399f99737af2393a09feed6ce96e1a293ae

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