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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.1.7.22.21.19.tar.gz
Algorithm Hash digest
SHA256 55bdf6d8d23b0d0caf42c62e7143b51bdde33981b3ae69dbddf0744d5d400e01
MD5 c22f301bcb61c5bb56aefaddc25a6190
BLAKE2b-256 f40be4d534b0e3449cff6033c6a06b0cd72100878a100d41a5ed423d9555056c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.1.7.22.21.19-py3-none-any.whl
Algorithm Hash digest
SHA256 9afc37607a97962c39d7675194968b846b8e6e155febebefd09c4214414f27ea
MD5 a6c43203492af6ecc031e3733bd4e8ce
BLAKE2b-256 9c3234150850a2e71f40ba9152967de52ba55aeb3c53003bc7518eae8efc5367

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