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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.2.1.10.54.22.tar.gz
Algorithm Hash digest
SHA256 7504661649b8ca9582facd026a86880f41a0886b0dbe408f850905a446f37763
MD5 8a5f74267a0f16feab28bb96639a696b
BLAKE2b-256 a9be63420ec0cd8384ff4574651c00018d27f7a684e1b8c86a7f76e0453336a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.2.1.10.54.22-py3-none-any.whl
Algorithm Hash digest
SHA256 9730eb7f7beeeb480c59d6dcc7e90dd951ac47a786a39837150f299b1ea13f5f
MD5 ccf75b7b510d74cc3bf741f77bd87e7b
BLAKE2b-256 3154c38fee47fc510f84c19d80318f27ee336650f322775eeef680db4722cf49

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