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

Uploaded Source

Built Distribution

fgo_api_types-2024.9.20.6.36.39-py3-none-any.whl (106.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.9.20.6.36.39.tar.gz
Algorithm Hash digest
SHA256 a276be9595596e4e0820a2304a33d29fd657b40b6bc58df6890c71758189a015
MD5 7cd185f2eaf607fbafe2b3463ecca616
BLAKE2b-256 0f5a14619b513de3442f47b3e681efd7b162b543db825b226fed3ea694e7c7e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.9.20.6.36.39-py3-none-any.whl
Algorithm Hash digest
SHA256 d82f5abfe89b39d115a220ea858605c43adc0712cc25b3384efaaa28782cf0f3
MD5 e9a3bb7c7414f6388980b61ca3f621f2
BLAKE2b-256 5f200ad14a3a01a0042384b92a372be3d2d0e4e2a53df074c581a500a22dbf29

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