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

Uploaded Source

Built Distribution

fgo_api_types-2024.11.13.13.38.16-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.38.16.tar.gz.

File metadata

File hashes

Hashes for fgo_api_types-2024.11.13.13.38.16.tar.gz
Algorithm Hash digest
SHA256 bdd93fde9195df84712532c0f46aaac0ccd03330717eec8f2f8da920ab2d8d86
MD5 a158ff885a54a82aa24e5a4d9b831c7e
BLAKE2b-256 c994c2939df8fb5069afb86fd561ab6984fc8e25986bfd118dcef252e5696fc7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fgo_api_types-2024.11.13.13.38.16-py3-none-any.whl
Algorithm Hash digest
SHA256 01132cc9d858ec7abd38017a810867eaddcb27a4420f7d23a6c787327c7b32fe
MD5 783ce584912717eefe2fcd00e8391ccd
BLAKE2b-256 80db12aba54523baa9f0d097f020d9e59b4bc0d1646c83af53dd7f2059fba8f0

See more details on using hashes here.

Provenance

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