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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.1.8.14.16.37.tar.gz
Algorithm Hash digest
SHA256 b2670f7d8d3318e12ee14c2ce6f312ce67ed4e4b36157b2b709975f6061b5348
MD5 261cefdc82bb58453de3d19dfcb3a56d
BLAKE2b-256 07ee7cc5043295dda4f72c07c43018f3d6b3c603bd949fef239378aa49d50c19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.1.8.14.16.37-py3-none-any.whl
Algorithm Hash digest
SHA256 475f18bf5493f432b9c67ef3ed3e8829fc75351f7b019a2526e83f555c605edd
MD5 e2d3e36476c0f2835cb5fd9b0a4df469
BLAKE2b-256 31d1a810aa7ae884c0cbb1a57214214250af4b089f67756384c9c95def81dbb9

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