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

Uploaded Source

Built Distribution

fgo_api_types-2023.5.28.10.43.15-py3-none-any.whl (91.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fgo_api_types-2023.5.28.10.43.15.tar.gz
  • Upload date:
  • Size: 88.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.0 CPython/3.11.3 Linux/5.15.0-1037-azure

File hashes

Hashes for fgo_api_types-2023.5.28.10.43.15.tar.gz
Algorithm Hash digest
SHA256 4dc1c3f814fbcdbd232a35b1a0b29781735aefb87e94cbb03f8af0f192633f93
MD5 59b1ea773c9c363269de9e3ee5ef3c6c
BLAKE2b-256 941bf87732334a0438c6b670949e3f1070a852f8b69f1308ad85dc9f67908d16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.5.28.10.43.15-py3-none-any.whl
Algorithm Hash digest
SHA256 abc47d6619499f341afe0c32747e65bdaea3729c49c256b5e5b73637b00a84e3
MD5 6a04d365534a839e1cdd78447f25b598
BLAKE2b-256 7a0ba641f40a02aea36db93ae5cc5b11e257ab7b4674fa2f5ed900fa79a3adb1

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