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

Uploaded Source

Built Distribution

fgo_api_types-2023.3.23.4.53.24-py3-none-any.whl (90.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fgo_api_types-2023.3.23.4.53.24.tar.gz
  • Upload date:
  • Size: 87.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.11.2 Linux/5.15.0-1034-azure

File hashes

Hashes for fgo_api_types-2023.3.23.4.53.24.tar.gz
Algorithm Hash digest
SHA256 707bd37be41c5de4f29dd71e0e9efd4ba977d629e183f73fd861775f5d5833fc
MD5 1c3cf5b8fa61ad224345685e62a93f03
BLAKE2b-256 1ffeb2a164371200705968323db3064e12d5f298baf2828c6379e9f112a15953

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.3.23.4.53.24-py3-none-any.whl
Algorithm Hash digest
SHA256 af91a316a39d0edb0e0c5bdf3f2a16ec48a4278f9c82c235b9970c58139a9dd7
MD5 a576d710e7e604a639e8483a6dd47e1b
BLAKE2b-256 e617bf7e0b99a3e770f7ebc34573afa023fdf326da3d27c3378c8f93588806f0

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