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

Uploaded Source

Built Distribution

fgo_api_types-2024.3.20.11.12.48-py3-none-any.whl (99.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.3.20.11.12.48.tar.gz
Algorithm Hash digest
SHA256 7fa9f2a2b379649b3ea152f1106ee1600acbfda793227e46c476c3f022ca9f49
MD5 0a34423f5294620ee3fa2309ba3eaf2c
BLAKE2b-256 e130211525091e4b530445b02f008cec2b1215aa1359e566812e002b4f2da14e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.3.20.11.12.48-py3-none-any.whl
Algorithm Hash digest
SHA256 1f077a57017e62a5a3470face424194fcd4c51c25b2ebbe28875ed3949a1f189
MD5 1b366dfeb442d61b69e5595dca66d220
BLAKE2b-256 acfd35e044b80fdaeae61fb0100ed5db28db671032f4ed86d4342b66c8467246

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