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

Uploaded Source

Built Distribution

File details

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

File metadata

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

File hashes

Hashes for fgo_api_types-2022.11.24.11.32.23.tar.gz
Algorithm Hash digest
SHA256 a01cf05bb796f2d10d356e61512bd1b54a1d8084db92cdfe38c9a101eda0838e
MD5 05326fe9f37465a9794605fbb7ca8dd1
BLAKE2b-256 d436332bf44ba5c9a4c1a03c504a250273d56d681164e5db78643b43c5e103ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2022.11.24.11.32.23-py3-none-any.whl
Algorithm Hash digest
SHA256 ea31a813cc3b754ac10e1c0acd9404a32dddd17eb7afff3f9acc724e4d8c17d6
MD5 5bb47d6e3b29c6eb4b052e24e836fc78
BLAKE2b-256 a7baabcd5e9d77831301ba5ec6b8e34ef8159b20e3d2b494d472899dcf8fd792

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