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

Uploaded Source

Built Distribution

fgo_api_types-2024.8.4.15.10.16-py3-none-any.whl (104.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.4.15.10.16.tar.gz
Algorithm Hash digest
SHA256 83ff27d78cbb834e695e2d79e0f1c074dd3f144813f212435a513d82745145e1
MD5 c9d6b449e354df4208652121864ab418
BLAKE2b-256 aa6bf4a289b6d982ef91e7b0fec3f552dff912fe3d9d02607fcc14695830b69b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.4.15.10.16-py3-none-any.whl
Algorithm Hash digest
SHA256 f2eeb55581b3eb3aef3ac0279db86c2358e04788fab6eaef7d40ad597c6accd9
MD5 fed0399625733a294c980b25a7b6ca9c
BLAKE2b-256 1706d4e8a5b6a09531ad46e47b0104f4ee9ecd9fa26d58edea6d0e4a7226e4b5

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