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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.11.29.14.37.50.tar.gz
Algorithm Hash digest
SHA256 e985b52978c48c3d045b4648c1fbd34fa2602ffb8c8ebb880ebbe606605bde95
MD5 3c583b0f315dbe6e1219cd37497013f1
BLAKE2b-256 f7cff9e7fcbb371587f77c151b06dc446b88fd7962a2a5c31189954d7af174c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.11.29.14.37.50-py3-none-any.whl
Algorithm Hash digest
SHA256 315425cc38dd6ae6312e592966b4f38c6e5371fbe0ad4a6fa1e0170163543345
MD5 246860f274f1dd368ed3848e26c1dbe4
BLAKE2b-256 ef7fb05281e67e9409c237e2ba66df0e0d6f7c07c9fe63001fa853f9d9c322d1

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