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

Uploaded Source

Built Distribution

fgo_api_types-2024.7.7.10.17.0-py3-none-any.whl (102.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.7.7.10.17.0.tar.gz
Algorithm Hash digest
SHA256 a74ec5348ca6744c65c204ff5cb2ac5966fbd95c615bf70469df12d41a8d6c72
MD5 3a6ba677e1ed93b2100850a5d0b9ee4e
BLAKE2b-256 2bcc96989eb1ef2c9d4954bec216a04b090c013fcb77ea0e604c3733f4450d56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.7.7.10.17.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ef5880f378d315012d2b675980689cc857a7d4643a719f098be172b576aba21
MD5 99283e523b420ea97dfc2e2121d406a1
BLAKE2b-256 c8ef403a29b02a6a3d0a5c09819291f874ea2e8b060c3e79b8b8a9ef5562baa8

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