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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: fgo_api_types-2023.2.2.14.21.33.tar.gz
  • Upload date:
  • Size: 86.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.1 Linux/5.15.0-1031-azure

File hashes

Hashes for fgo_api_types-2023.2.2.14.21.33.tar.gz
Algorithm Hash digest
SHA256 87ffce46d1cd3b7a80d23125d1e2aa0b0ef5d0d829c25df8480969494ad2294b
MD5 abfe80ddb8d542820b5320f16d18da4c
BLAKE2b-256 fb1393d94350c5af9951faf4cac1f459072a438a96c7c16c2fbccdb7704ceb85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.2.2.14.21.33-py3-none-any.whl
Algorithm Hash digest
SHA256 b8607884c5d07afa1af5fb2ddf8f319e76a769a9cc40fdcc4674d42ef4d17d28
MD5 c9cef7c3675e47b0df9fbadf13f12fbd
BLAKE2b-256 de32085597f364ddeaba55e836411592ac473cf4c4a9c273b99d9afff57cd317

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