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

Uploaded Source

Built Distribution

fgo_api_types-2024.5.22.15.26.16-py3-none-any.whl (101.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.5.22.15.26.16.tar.gz
Algorithm Hash digest
SHA256 e49fb15c3e21336ed11df71f0c501024e7e1667c52d76adef1b8c5809eeb0035
MD5 b7b77af5e27b73a47f73ae72e7946c0d
BLAKE2b-256 25daa4c730ac8b9e7157373efaa2f7896d1c6a391c88c5d151e0aee6c77d3132

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.5.22.15.26.16-py3-none-any.whl
Algorithm Hash digest
SHA256 3fe481b98f9ea636b69e17685f22c824ee688a51a308d54c047a9b82914ddd25
MD5 2d1b9729a6ac2702938ac34050b83e41
BLAKE2b-256 58c65bd0d3fe74877aa6f28499a3573b81e1e262ac584ef427d45dd3a426d136

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