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

Uploaded Source

Built Distribution

fgo_api_types-2024.1.17.4.36.30-py3-none-any.whl (97.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.1.17.4.36.30.tar.gz
Algorithm Hash digest
SHA256 09fa7484998cd8afcc36341cfe4d990c16aecc2a96857facf007e56282959f0f
MD5 93e272421a2b3752826b0a33b6791eec
BLAKE2b-256 eee459a8ce4c231ddd779f56f026086f25bf868ad4a441efbdd3d64906f7ca03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.1.17.4.36.30-py3-none-any.whl
Algorithm Hash digest
SHA256 ac2a9604ca1c8d449998ad7b02637c4d7db8d95eb7f79c5a6c0c49f1bdd54717
MD5 69bfbe841cfba666615ee00abff115df
BLAKE2b-256 92d7c704c7e7d77a8f14db16902389c832d739b1cde4c79ef85c386922b1f30b

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