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

Uploaded Source

Built Distribution

fgo_api_types-2024.7.3.23.33.43-py3-none-any.whl (102.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.7.3.23.33.43.tar.gz
Algorithm Hash digest
SHA256 739de1a925961c722ad0160b448786fde069eae5cdc62550f04baea4d43d0828
MD5 481d45a58f1fb55db26f647c942095db
BLAKE2b-256 b96b2ab1abd7a267e7155950b0b65635bcc0ac6f4ca421a68b135e5a3a33f56a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.7.3.23.33.43-py3-none-any.whl
Algorithm Hash digest
SHA256 afe15e23dfe0367bc1d4a1235071a05447faaf1870daedea1b4cd676ccb4b705
MD5 e7d2ea89920bfd44e049b33f3d79dcdf
BLAKE2b-256 45f2dce22a23f8f81e219e6a32e313a0b7141b7a7eb7f6ed2707c9c7630a791a

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