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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: fgo_api_types-2022.12.3.14.13.22.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.3.14.13.22.tar.gz
Algorithm Hash digest
SHA256 1af762bec6e5ea3fd59afb2863f8d35dc1f3a1a58d3a6129530ab33cde037ba7
MD5 2dadb242fb20139dadf6daad99d4562d
BLAKE2b-256 2b4e6989a71834427108ad8e8a8103059dfb2165befc534d9771cd795c4ac3a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2022.12.3.14.13.22-py3-none-any.whl
Algorithm Hash digest
SHA256 8b6f78b026c91aae40de6f06f8a3f05532e29d10b08d27cf01d6ae4c61522b0b
MD5 7b6d9ad642144a961888f982db54658b
BLAKE2b-256 d60ba51a08b81e780545f91582bb35a5fd939c1bf421e16cc884d685657b05d1

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