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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.10.25.22.34.17.tar.gz
Algorithm Hash digest
SHA256 f08cd55951aafe9961e16e07b3f76ff401b201174c063f06c6ab4b6451323bc0
MD5 f9f80a33c903aaf01ea8a0de55079299
BLAKE2b-256 acd7dc454207040a3056ad8e13ea0b5abbbd1c25a76e4a7b85ae1a21f0e138d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.10.25.22.34.17-py3-none-any.whl
Algorithm Hash digest
SHA256 727a38298cac14aef576454b01618d80066edc79b7d4c7f025aa933db5a86e1f
MD5 e5432c97ea9f0a729719bdde34c16b14
BLAKE2b-256 4c5d59a6eb70c0c49e643293a52bbd08db5163b18b1f7c54adb0f25936b7d0b5

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