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

Uploaded Source

Built Distribution

fgo_api_types-2024.11.13.13.37.19-py3-none-any.whl (107.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.11.13.13.37.19.tar.gz
Algorithm Hash digest
SHA256 650ab664ea953709a510f636f2a345b02c1ee2912f193735001d5723df4bde34
MD5 b26e99516ba16a68b8ba951827639289
BLAKE2b-256 224176515d3b2f14be5f0407e5e2725e3aec8ecb1013417daf49c0759b10e15b

See more details on using hashes here.

Provenance

The following attestation bundles were made for fgo_api_types-2024.11.13.13.37.19.tar.gz:

Publisher: api-types-publish.yml on atlasacademy/fgo-game-data-api

Attestations:

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.11.13.13.37.19-py3-none-any.whl
Algorithm Hash digest
SHA256 c7a61b10c94dd11c46ec1d5788b620bcce1e51339ecddf3e791a8e3f081d7504
MD5 40a01214f0388d113ec69ab7b11dd651
BLAKE2b-256 37d2eaab41b2ef116bf8d3300fab9d3f0f0b3b37e10a887a2d88a03a2b187202

See more details on using hashes here.

Provenance

The following attestation bundles were made for fgo_api_types-2024.11.13.13.37.19-py3-none-any.whl:

Publisher: api-types-publish.yml on atlasacademy/fgo-game-data-api

Attestations:

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