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

Uploaded Source

Built Distribution

fgo_api_types-2024.1.27.4.28.20-py3-none-any.whl (97.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.1.27.4.28.20.tar.gz
Algorithm Hash digest
SHA256 6b5fe7b1ca66fc0d986111e093e1361ec5a64059c8473b17e6f86b1663a94268
MD5 25aeb1b1e14251812214931eaaa3da37
BLAKE2b-256 35a67fc258478c4eb0c46e487313923609b50e32d8a3e9b9efdefb547c7ee710

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.1.27.4.28.20-py3-none-any.whl
Algorithm Hash digest
SHA256 9167c388cebb5c9017f875bd54154b9469e057727ad9774981f52ed8aeab9f69
MD5 7292b818e417943c8b8bf1d7687d5796
BLAKE2b-256 962c36e3e9807f504ba887f7a6e0c7e6bee2c67bee9a4d5e449d8a4115c77c83

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