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

Uploaded Source

Built Distribution

fgo_api_types-2024.8.10.2.26.30-py3-none-any.whl (105.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.10.2.26.30.tar.gz
Algorithm Hash digest
SHA256 ec5cddfbeb7cee9057db768b0f92adbf5889f61bc227274cb94e1c2e6ac38c89
MD5 3f30eefa87855a8b7624858271b386ca
BLAKE2b-256 e2936a336f88feb87d88ccafcd85268498696c40ccff02271990da2ea9727f03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.10.2.26.30-py3-none-any.whl
Algorithm Hash digest
SHA256 c17ee3256081067472aef587efee302f3d515fdb969d3c0d9459be8bbec3cffa
MD5 08f039e95863d7992a1a863f2778fb5d
BLAKE2b-256 7dc48b6e2af33932588b05eeca75d842c843e6ea2012b37a2cefdad0494e92f3

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