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

Uploaded Source

Built Distribution

fgo_api_types-2024.3.6.8.18.17-py3-none-any.whl (98.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.3.6.8.18.17.tar.gz
Algorithm Hash digest
SHA256 33c686b65a9e1d827ed73e146a867eb55006f201dd60a18508e8cec5a353f02c
MD5 8b1cff452a6fcf5146b52425b5fee872
BLAKE2b-256 f26988234d48417bfcd445ba07d0ad1bd16f1bef687648fe4a36537561660136

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.3.6.8.18.17-py3-none-any.whl
Algorithm Hash digest
SHA256 1b8bcb0dca41b960b1a0fd6b11265d35b6feaee695d76b007a5c3eb6c77eed26
MD5 c2404e2742eb61e15e80b9f2055cf40e
BLAKE2b-256 8b0f55cffb9d1afd858734095ebf7b6afb785b053a6cc8d545901f5e93530382

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