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

Uploaded Source

Built Distribution

File details

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

File metadata

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

File hashes

Hashes for fgo_api_types-2022.11.9.5.50.52.tar.gz
Algorithm Hash digest
SHA256 8fb9766368fdfdd81333637371f25a2e6259ea86709186d8959e0fd9bc5a3d87
MD5 7aecc21e35fb0dfbcef10d7afa32a628
BLAKE2b-256 63ae1448e974df643f656bd942061a7bf5948527768e2783aaa36b0793a235fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2022.11.9.5.50.52-py3-none-any.whl
Algorithm Hash digest
SHA256 551cf338f054f1ebae1c30ba4151478bb2ed572b5b2c8ac3633cb21996e4ae2b
MD5 b846010b5daa2332794c808d3707ad6e
BLAKE2b-256 0835fe14353b15da03743ab5f38a0dacde783565e6cd57476699c88e679aacd3

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