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

Uploaded Source

Built Distribution

File details

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

File metadata

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

File hashes

Hashes for fgo_api_types-2023.7.7.16.36.40.tar.gz
Algorithm Hash digest
SHA256 cbf8f72f5959654feb50b608c01551d84c9a98798ea39f80f1107067dad9cb8f
MD5 caca59ebd1107b264dc55912d1ef3f3c
BLAKE2b-256 6f90fd22e069ca7b8453cb4912298233613f643e6a9f92b369b038a0a08f88d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.7.7.16.36.40-py3-none-any.whl
Algorithm Hash digest
SHA256 1db974178f027a5433524f2a5d33ceb9694e234c21736c6d74c666f6b41acb07
MD5 ef823906f036996088d4719929cad16a
BLAKE2b-256 7b20170d5bb1ccbd751bdbfa4557e9280d00bbd6546e5758f5c93465939e7e3e

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