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

Uploaded Source

Built Distribution

fgo_api_types-2023.6.30.12.22.47-py3-none-any.whl (93.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fgo_api_types-2023.6.30.12.22.47.tar.gz
  • Upload date:
  • Size: 90.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/5.15.0-1040-azure

File hashes

Hashes for fgo_api_types-2023.6.30.12.22.47.tar.gz
Algorithm Hash digest
SHA256 291a03b5e80dd03a07aaecace9990e4013d2ee37c5b6e3e852e4eec9685a91c1
MD5 987530c352b2ed4c0da249975b93dcda
BLAKE2b-256 f4af6413edb5e1060b0fc9752cea5dbd5bde763eebf6925d0ac38bc2ec0a4d84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.6.30.12.22.47-py3-none-any.whl
Algorithm Hash digest
SHA256 b92768c76ccda24535c44ba095c87f680205d81aac265ea44921955dfcc00f13
MD5 aeeb44755b844e719aca5b33fa57c417
BLAKE2b-256 0b729363dc79ddc74562603f31c80d37e6b1be2a75b2589bc1ee62740115e751

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