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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.5.1.29.51.tar.gz
Algorithm Hash digest
SHA256 5d65cf9259dafceb43d16446af1133fead80743be1786594b64fb902b2087b3c
MD5 9681978dbfe529584b55d3181a9c2f90
BLAKE2b-256 04e6e88248e5f5f012d65056f2678935e7342885589ae1668855dd2c59b47f2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.5.1.29.51-py3-none-any.whl
Algorithm Hash digest
SHA256 a02e6d9fbf92bd1c4f4d3631783c9f12ec244c92384996a4e1cbf3a1ba48624a
MD5 9a8ada6e727d5293d6073eee2d600bde
BLAKE2b-256 34519209c35609d668e7d62be96a1b0137e7c7fc2b2b28727371e5604644a314

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