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

Uploaded Source

Built Distribution

fgo_api_types-2022.10.30.4.33.47-py3-none-any.whl (85.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fgo_api_types-2022.10.30.4.33.47.tar.gz
  • Upload date:
  • Size: 82.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.8 Linux/5.15.0-1022-azure

File hashes

Hashes for fgo_api_types-2022.10.30.4.33.47.tar.gz
Algorithm Hash digest
SHA256 25acd632adb51a8faf8af112d29ca4125619b342599f4367a2a875a6263459ec
MD5 20bc8bc4b95a9918cfdfea8f807fa739
BLAKE2b-256 fb4e08cd0c74a3907fbc267602a314da8c839f9403a5252220c15a47c626e689

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2022.10.30.4.33.47-py3-none-any.whl
Algorithm Hash digest
SHA256 f77e3e9cee5601623cb10dc6b280612933aa6a778bfdcffe56c0fdd7c460f45d
MD5 64069b08aa6bb0a57e13fa113bc59f87
BLAKE2b-256 af983b785da998696ba8b59a8f309afd2caa8c0c0c7d5ab33c3cbbcfc24dbfe7

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