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

Uploaded Source

Built Distribution

fgo_api_types-2022.12.25.5.13.25-py3-none-any.whl (87.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fgo_api_types-2022.12.25.5.13.25.tar.gz
  • Upload date:
  • Size: 84.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.11.1 Linux/5.15.0-1024-azure

File hashes

Hashes for fgo_api_types-2022.12.25.5.13.25.tar.gz
Algorithm Hash digest
SHA256 7dd3f513687af036e868b2c99dc16807b253ef5385e8c79099fbf416c673ed6a
MD5 3abc78eee0a08be7de8ab4b91e8708cb
BLAKE2b-256 cfaeda80fb5c3936188b4565a2711cf064237b3e8e59b25a784f2811bc2e639b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2022.12.25.5.13.25-py3-none-any.whl
Algorithm Hash digest
SHA256 c41d1471fda7dfa6186559a3f7d3b19b1b7a819af460f31e2f5b4f44bba0337e
MD5 ca0fd658d8fb2bf907750254e9e98908
BLAKE2b-256 b78b569cbffc017e83e18c66aa5b7a1b1cc69b61c3a7cb253eddf99c9a969cad

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