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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.11.13.11.17.22.tar.gz
Algorithm Hash digest
SHA256 da48ff5b7db50384286d28735014c91a1ed50fa94ed0dbb8c11fb8ba76d8e393
MD5 cbd43e5f01ec7de9305f00152819bc3e
BLAKE2b-256 5208a3bea8c8f0e0c5b3ac043a82f9574cdd9df9dfa3dc67d9912cb99e9fe6ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for fgo_api_types-2024.11.13.11.17.22.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.11.17.22-py3-none-any.whl.

File metadata

File hashes

Hashes for fgo_api_types-2024.11.13.11.17.22-py3-none-any.whl
Algorithm Hash digest
SHA256 06ef200acce56c10af9a1ec961182675c0d2bc087061978d2049548950093ab4
MD5 23c43baf1101c852fd1b54b5b75c3c3f
BLAKE2b-256 2980e4508de3582c7380b2319ab6deee928558560c88a6b6012f47ad9b068e28

See more details on using hashes here.

Provenance

The following attestation bundles were made for fgo_api_types-2024.11.13.11.17.22-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