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

Uploaded Source

Built Distribution

fgo_api_types-2024.8.28.10.8.30-py3-none-any.whl (105.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.28.10.8.30.tar.gz
Algorithm Hash digest
SHA256 eb2988db86546ac42441ec1946ea854401e68249d7a5533126073bdd398540a3
MD5 51f9f7c33d041b7cea4d3b4ee7804b29
BLAKE2b-256 f2dad1cf2abf61682999e4b2faff03c987954a7213559e677a0f338c78d23743

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.28.10.8.30-py3-none-any.whl
Algorithm Hash digest
SHA256 f703a0b92f8233c6c8f04c7d1b4b93d6a6bd322892b92afc9bda1247833cdc03
MD5 88f2fcca3b063c06a7456b69e1ba8520
BLAKE2b-256 c536a8b745e559fd36a9ac56f87dc62cc7f0b5040503cb582ba9717b988e2a52

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