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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.2.1.11.27.39.tar.gz
Algorithm Hash digest
SHA256 61078e9ef607c646ff2ba1b4f22a2095e9165daba5e92b77ab4edc2c11fdc3b4
MD5 2300fb6d343387a2c3577541114c6616
BLAKE2b-256 e425e7ebfacef9e9c5f550a5958b56733ecd6e4e943ac7f83e3e70e57733a464

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.2.1.11.27.39-py3-none-any.whl
Algorithm Hash digest
SHA256 d17d8f398efedc11c3bc8d154cfbedb1778db58a16b01cc8f50a915c28eb70ea
MD5 87ec183c4f8639f7d0d331c389d180fb
BLAKE2b-256 d5037eee7c27ed8a1acbae663908bb47b4c565dc329539e389e119eddf552c87

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