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

Uploaded Source

Built Distribution

fgo_api_types-2022.7.29.13.44.34-py3-none-any.whl (82.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fgo-api-types-2022.7.29.13.44.34.tar.gz
  • Upload date:
  • Size: 80.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.5 Linux/5.15.0-1014-azure

File hashes

Hashes for fgo-api-types-2022.7.29.13.44.34.tar.gz
Algorithm Hash digest
SHA256 8a6745bda665bb954835c04bac2e8658d9848ece10bcb5f20db431a8c1973c59
MD5 a355aa275e97e08cf4f9b72ac923dd67
BLAKE2b-256 9b574a8e33ec63c3c7e40d2e3b3755bd5376e52ad0920b2ee7a4ca0f5289bd8d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2022.7.29.13.44.34-py3-none-any.whl
Algorithm Hash digest
SHA256 8ad9119e59d1b22490f1ecb5afa71e0fe2db6c2333d6f4552b445ae169fe64de
MD5 0518ea67d63c89f116658010fefebfde
BLAKE2b-256 3ebf1cf24e9cb835e3c37204e580df0a9a0b0014dca5ad50aa124c4b60f26f5c

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