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

Uploaded Source

Built Distribution

fgo_api_types-2024.1.30.13.53.23-py3-none-any.whl (98.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.1.30.13.53.23.tar.gz
Algorithm Hash digest
SHA256 1c1c74aad3cb94cec41eef5915490a278605c8f4fb53224517d5cb3653eb0563
MD5 b885963c5af7d87c5f89f1341ac15d0c
BLAKE2b-256 b5c1ed496df2c2a064f40bba5e86e7a250a7ec34369c2d0cc7932b9348233b6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.1.30.13.53.23-py3-none-any.whl
Algorithm Hash digest
SHA256 dbaef3e9c4c78e0ea270ed8c2894305fb94f48cd1985e712e3105b0237f064a2
MD5 1770ef712d9d9574e13543f310be0463
BLAKE2b-256 e4fe7445487abb0d1ef59b11e6022ab0ea04c5cf653fe3c04d3f2fb6ebbe9bd6

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