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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: fgo_api_types-2022.12.3.5.53.56.tar.gz
  • Upload date:
  • Size: 84.2 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.3.5.53.56.tar.gz
Algorithm Hash digest
SHA256 a242bbbebeb0efca2ca28f89b9b0e198aab0b514f058d57d3bb190ccaf8be428
MD5 1f5abb5b1e1f374700abc88e086bf7e9
BLAKE2b-256 6f8a5e5270e0db2761660bb0fd83c8165e741ed15f3567bc7b3e66244ceb19bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2022.12.3.5.53.56-py3-none-any.whl
Algorithm Hash digest
SHA256 5605af03b00e45df0bc60efbe47842051b23cfcfea9fd92c3bbcb27af2f7c788
MD5 99bb9aa2abbc75b6ad8895fe37cc879f
BLAKE2b-256 3a008f237e85f2efb07626962aeed59d6d2961fb9e49f010c8e8b5a514544c88

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