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

Uploaded Source

Built Distribution

fgo_api_types-2023.10.14.17.52.0-py3-none-any.whl (95.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.10.14.17.52.0.tar.gz
Algorithm Hash digest
SHA256 bb100f506ecc031005164fa0a6825a7a46ff3a2ea8b4e71ae0ef5fe74fb2f36d
MD5 44ca81188c33ab78202d234d4e189de6
BLAKE2b-256 94408ca4f2d5aa89757eaf14eb00047b7e118e33bd9e0adf924fc8b06e4f050a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.10.14.17.52.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39d629fab6505b123b528dc3a92440d4632e5ec89b98ae084168e5d1d6f5c4fc
MD5 cca7ec2a752ba5d08b49f100f1792e4c
BLAKE2b-256 3662de3d0a6a526063139318d55465d273a632d43038c486dfbcc3fdb60fd5cb

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