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

Uploaded Source

Built Distribution

fgo_api_types-2024.10.22.11.25.1-py3-none-any.whl (107.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.10.22.11.25.1.tar.gz
Algorithm Hash digest
SHA256 579c27b9d7d4c66e1d10d8c29fd6cea31e88c4eeab8a3ac96c07c99b9bcd28ce
MD5 3b392b7ca89d68a4f4c937a4ed08591f
BLAKE2b-256 8a3043dfc37a8dceee0f650fbf099dfa249a0944a7ae4642faed72dd3722db5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.10.22.11.25.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cf9c5153ef54d9b2b4e5919fc38c0aa6d3a2e1cf9e1c463b2138d7327c66ab78
MD5 9c65b8603b48476fc2a81aa7eb033f29
BLAKE2b-256 a80179aa7b5efeea4c15865092675ce3170f370a276165f7937c6ffdbf154bca

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