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

Uploaded Source

Built Distribution

fgo_api_types-2022.6.15.4.47.5-py3-none-any.whl (81.7 kB view details)

Uploaded Python 3

File details

Details for the file fgo-api-types-2022.6.15.4.47.5.tar.gz.

File metadata

  • Download URL: fgo-api-types-2022.6.15.4.47.5.tar.gz
  • Upload date:
  • Size: 79.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.4 Linux/5.13.0-1025-azure

File hashes

Hashes for fgo-api-types-2022.6.15.4.47.5.tar.gz
Algorithm Hash digest
SHA256 6997ebd60de1e13f9943fe4121fc03c82179aad4b9f1e3360349766c6c2f9623
MD5 e3f667d7f18460e071a27bbf8ec438e0
BLAKE2b-256 62c11f4f41fdf4e19efa9cc96e10f985ca6c980dfb55f27287c76715b131094b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2022.6.15.4.47.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c189803bb40dbd5be3c8c1412e409622d2643e1f6b7c06fc0fcce8e3b173d175
MD5 8c61182727e702dcabbc8fdd9cbada86
BLAKE2b-256 70a094278095ecd574e611e8f75ddcfcad277e4d0f3af02cd11cae660d6598ce

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