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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: fgo_api_types-2023.2.5.12.10.20.tar.gz
  • Upload date:
  • Size: 86.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.1 Linux/5.15.0-1031-azure

File hashes

Hashes for fgo_api_types-2023.2.5.12.10.20.tar.gz
Algorithm Hash digest
SHA256 a7c4abb8972ed0c1275c6900319ea12f734faf123cb58f793ddbb1e812c1a642
MD5 464eadafc2d3bd884b1a2dee43796f6b
BLAKE2b-256 fcd4a1c4334d06351bb6ecb782c0e991ff1f1a81598110a99eef070fb842832e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.2.5.12.10.20-py3-none-any.whl
Algorithm Hash digest
SHA256 b2678a25504bcc44839688ce5b99ae62421ba03a8125da29a9baef8a5ed25215
MD5 245925c02578a1d6464eeb73b30f0f65
BLAKE2b-256 b3c5c1c385b7dd41b2d72c9420ab9221fd3cce4a06a805b4cf3be7bc5b71790a

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