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

Uploaded Source

Built Distribution

fgo_api_types-2024.2.14.4.45.21-py3-none-any.whl (98.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.2.14.4.45.21.tar.gz
Algorithm Hash digest
SHA256 604ed016bf1856f5b893040052706da6519b0eafdcc514f1a2812716e8d29fd0
MD5 046a3317f35f99e05e8122783258c5db
BLAKE2b-256 0e0fdcafcad3c59ab113c3f2168073732daeac087f333421f9226ef524005c0d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.2.14.4.45.21-py3-none-any.whl
Algorithm Hash digest
SHA256 02b46dbadbf2b3ec88ef07dd64359688a487e976b82b9b69c3f19d876c6e3b9c
MD5 e3419af04e8df3a259251f1b44d29742
BLAKE2b-256 0a70d6adb602cb0f15cfd46f8cd1c08999c5ca2bb3424403eb30f30f219df369

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