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

Uploaded Source

Built Distribution

fgo_api_types-2024.8.4.14.35.23-py3-none-any.whl (104.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.4.14.35.23.tar.gz
Algorithm Hash digest
SHA256 56c9f5f4661985876cb1a93f6dc1c24369e71eff406ec4785910110b1485243f
MD5 b3c2d9d64b233dd176e1a03ed615fad4
BLAKE2b-256 35e74b2e70a684b3b2355f50808e7843f61e077c258294b853f205ff4e6d2564

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.4.14.35.23-py3-none-any.whl
Algorithm Hash digest
SHA256 f771761a2080c2db6f800612735f5199f147c9ffc35cdd8e42a92b0db81d7266
MD5 be98a396fa387e86cafd9e5ca211eb11
BLAKE2b-256 9e073a95197b3d7b0a9e8da1be18a3ba5880c10280a043da5d8de2b02312117e

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