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

Uploaded Source

Built Distribution

fgo_api_types-2023.10.12.0.43.13-py3-none-any.whl (95.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.10.12.0.43.13.tar.gz
Algorithm Hash digest
SHA256 94cde9e39641e947b5f5ddc8f2134170704bc4ccb32655d0cb5c92c09d4bd11b
MD5 b7115485c6a02a0737075155237a7e6e
BLAKE2b-256 a0e37eb83180f68d2097e74e3e109fe0626305d9346da44d555d4fa76acfe84d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.10.12.0.43.13-py3-none-any.whl
Algorithm Hash digest
SHA256 cb7f652e91cf2bc0661b34eed0ca121820c498f721a958063235570d341835d4
MD5 c24b4ba33be1a5fd30a723c2429805a6
BLAKE2b-256 587c2617adb6dd39b3bfe7142f31960a2191bad9ccc6063f2d1042ab287627e3

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