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

Uploaded Source

Built Distribution

fgo_api_types-2022.10.12.5.21.47-py3-none-any.whl (84.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fgo_api_types-2022.10.12.5.21.47.tar.gz
  • Upload date:
  • Size: 82.1 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.21.47.tar.gz
Algorithm Hash digest
SHA256 80b934f3428745cf05a109b99f5e77b617756aaa787dc5b8f756c542be75dea5
MD5 f8ce7bb52ecb7579aa8982ab9a556fd8
BLAKE2b-256 0354f2958b86a9b86f21ae99c6b5b354fb8df8dbbfdbf3f2ee0c9741f310d3fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2022.10.12.5.21.47-py3-none-any.whl
Algorithm Hash digest
SHA256 e4487bbca37ba6edf87a3763900a6b9d32f0d2689c04a84474d384ac8ce07d07
MD5 e14218abe8f3ac5df707fd47c6e81d4f
BLAKE2b-256 5961f4b2cf324a3c51cf33966802e89e678b41f387bfb1947af170ca36937a58

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