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

Uploaded Source

Built Distribution

fgo_api_types-2022.7.20.3.56.8-py3-none-any.whl (82.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fgo-api-types-2022.7.20.3.56.8.tar.gz
  • Upload date:
  • Size: 79.6 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.20.3.56.8.tar.gz
Algorithm Hash digest
SHA256 94507db90453e710a4fa4b2726e0ba57b69a2236c79b8ee0803737333d05a9df
MD5 1be08bb5c72b8e52b14e1762e6fd5e2a
BLAKE2b-256 7480b91a15a5e099964b8cf307258f71c08059a6b2c0a9c86ef1ad9d543bc260

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2022.7.20.3.56.8-py3-none-any.whl
Algorithm Hash digest
SHA256 fdca0e8c9b2f1b83f7ac15a1afc8eb4346bdf1c849d21a4fda8636de9fae0dae
MD5 f72fa3367a5f6288b90519dfcf3998d2
BLAKE2b-256 dc5fd0aa394bb772c558bdc86f1e77752f576897ce2a740d2f1f9bf74edb1ee1

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