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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: fgo_api_types-2023.9.2.15.52.13.tar.gz
  • Upload date:
  • Size: 91.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.4 Linux/5.15.0-1041-azure

File hashes

Hashes for fgo_api_types-2023.9.2.15.52.13.tar.gz
Algorithm Hash digest
SHA256 78cf242d054e7d4717b34f58cf9485735ca946282bfe14dae6e0c735c8ec3e11
MD5 a3f35b4db824b0826f50ef44c31b3b54
BLAKE2b-256 b2928282fb2014153cd1b9607bcab713d90c34d84942050ad62afd2014571272

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.9.2.15.52.13-py3-none-any.whl
Algorithm Hash digest
SHA256 5bfa5268b519f72834df6ccb875bd7d072632e4a5e29a13cb9e849f613e77314
MD5 25ba7016523fe755abdae7692ea49bdd
BLAKE2b-256 ccd80df7e9255a94afc8172d89e32d212d12b186698ff95f0e1b210e158b714c

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