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

Uploaded Source

Built Distribution

fgo_api_types-2024.9.15.15.27.45-py3-none-any.whl (106.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.9.15.15.27.45.tar.gz
Algorithm Hash digest
SHA256 b9bf8b26b138b13e1f1aec013da4041c269eeebc871f043e27543515d5f91e49
MD5 47eab6006b5d7a859f4e8d47019b3f04
BLAKE2b-256 f7a253488ee4a5e4221148bf8e63b0f5fd7b7fa28e8f4631faa5ea60472fe358

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.9.15.15.27.45-py3-none-any.whl
Algorithm Hash digest
SHA256 a8b360990bf901e54e1a567a41cd2abb52f473da8d892fab3118ba70315bcfc9
MD5 06c49c415351bb1ebe281520163c4c72
BLAKE2b-256 7f69a2354f31ba22e6b8a9d9e32bfa91a7460e2e088b9449b794f99efb5324ea

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