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

Uploaded Source

Built Distribution

fgo_api_types-2023.3.13.8.0.25-py3-none-any.whl (90.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fgo_api_types-2023.3.13.8.0.25.tar.gz
  • Upload date:
  • Size: 87.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.11.2 Linux/5.15.0-1034-azure

File hashes

Hashes for fgo_api_types-2023.3.13.8.0.25.tar.gz
Algorithm Hash digest
SHA256 c2da40780302547f0135b00d900e0edbbce1aa0fb0dac9ab684105177ce82a36
MD5 63edbb9faf3be069e52fed06b5282005
BLAKE2b-256 58a9fdd2c1de0a8eb271ad47adcd8c8ca589a1298fba598e57b6a7e9e7db87f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.3.13.8.0.25-py3-none-any.whl
Algorithm Hash digest
SHA256 20c1b72d0e63f87891039cb02bf072570052b399e42986d0850f4002524e9b33
MD5 5b78dcbcfc9ec208d5a5bd150393cf75
BLAKE2b-256 00e1e440416f858950b21d7a1ca9d9cb1fab4e5ebe7f267dc79e56ba771d6f42

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