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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: fgo_api_types-2022.12.4.15.20.24.tar.gz
  • Upload date:
  • Size: 84.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.0 Linux/5.15.0-1023-azure

File hashes

Hashes for fgo_api_types-2022.12.4.15.20.24.tar.gz
Algorithm Hash digest
SHA256 763b11c43ea85e8f072c81682613e836d1a06bf343868402c1d8fe5904c80fed
MD5 3b10b3b6d0dd2e45f86d32a7c4164670
BLAKE2b-256 3891cf187996e87ff758b7a01518189f5f9e3fd6e8fcc6a400efe0b0d50ee5b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2022.12.4.15.20.24-py3-none-any.whl
Algorithm Hash digest
SHA256 1714144d83ce8b6022892ed9e1750d95fdb6275bea0bdfae5c22a94b9a3d844a
MD5 9bfdd550e7fcae6ba20e005f5ce9c9bd
BLAKE2b-256 5e0e179dea4b55190c2976e115203fa119b449abfd44875c7cd496adf079f2be

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