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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fgo-api-types-2022.7.27.4.7.12.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.27.4.7.12.tar.gz
Algorithm Hash digest
SHA256 d328c5655a53652a03fe4913bd45e7fc9ca6877e591d2297584c4b7ebb430157
MD5 356d782560dc403ffa7dc14a0b3e13f3
BLAKE2b-256 7865307745a01d5ed2fe456c791aa69cc456142fdb2b15a6b1e3e5b2dff2bfe0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2022.7.27.4.7.12-py3-none-any.whl
Algorithm Hash digest
SHA256 9ab1c13c4f089b029d1ce9814284634609f3ec7c6a7cb01e12eae7c8adf5b067
MD5 2a1751f58c987b80d13284b27cf327b2
BLAKE2b-256 19433913074621bbe07755352d55f488fe52143326f74492fa9552bd36e79044

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