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

Uploaded Source

Built Distribution

fgo_api_types-2022.10.12.5.0.45-py3-none-any.whl (84.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fgo_api_types-2022.10.12.5.0.45.tar.gz
  • Upload date:
  • Size: 82.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.7 Linux/5.15.0-1020-azure

File hashes

Hashes for fgo_api_types-2022.10.12.5.0.45.tar.gz
Algorithm Hash digest
SHA256 1f16170586bfb0c62dff176629609185290ba9b51620a80464fc49fa0a8d188e
MD5 24c223e221ed8defdb9e83cc811e4365
BLAKE2b-256 da89497e76abb9eb95029aab089e7f0a489f8f28b654ee99eb03a7406ab2d6bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2022.10.12.5.0.45-py3-none-any.whl
Algorithm Hash digest
SHA256 cca04b345fcf3f536259a806778110e1e64e5efa39e0ec86609cd5e363f838d8
MD5 faf54fa08f4d87b818b739d96fd32786
BLAKE2b-256 1d26770eac89fd2567eab9dcd13e24757d6cb911e47fa8acf50f5568effb4845

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