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

Uploaded Source

Built Distribution

fgo_api_types-2024.6.28.12.11.30-py3-none-any.whl (102.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.6.28.12.11.30.tar.gz
Algorithm Hash digest
SHA256 d9210f73c4064e590327a687083e3c66276530812408900e6c053b490ac339c5
MD5 2babc3ff54254d6eb2a156b20ab8d502
BLAKE2b-256 805a9deae6ee54e598aa6220af76dc5c497a942b31e2838c9b01ec735761f2f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.6.28.12.11.30-py3-none-any.whl
Algorithm Hash digest
SHA256 129b050a5de5b20dec3568ac3cb38ecbc203960224c12e3c8b2861d850b0063d
MD5 685ac04fae2b77925dedb905f4cb5da0
BLAKE2b-256 b312cdf3983ebea997b747a96c4728d79d002e0746e41d3f59046c146ba6c315

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