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

Uploaded Source

Built Distribution

fgo_api_types-2022.12.30.0.40.43-py3-none-any.whl (87.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fgo_api_types-2022.12.30.0.40.43.tar.gz
  • Upload date:
  • Size: 84.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.11.1 Linux/5.15.0-1024-azure

File hashes

Hashes for fgo_api_types-2022.12.30.0.40.43.tar.gz
Algorithm Hash digest
SHA256 4fc58d7edda7fd4992613b49fa7e4cea20cba23b58f0bf7504891c1bf5933c0f
MD5 2e65f4199a5b26588bda22e273455425
BLAKE2b-256 c0607e0f2a3aa51ee25f49d73fc4c62a1ba296a3437936f8b77671a0f0147d8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2022.12.30.0.40.43-py3-none-any.whl
Algorithm Hash digest
SHA256 a9753d27c005153cd9c043ce75cd56d8925e3e173415ff2a83c382c9dec955a8
MD5 6ba360b75582e87fe7743797308cb552
BLAKE2b-256 b3925aee890a9eb65aa64cf681a2201b6d0b3a7664f96224e0d4b1fad2730847

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