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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.11.14.22.32.8.tar.gz
Algorithm Hash digest
SHA256 fab67d74068396d370080014e9f4ae182fd0f74f972c3eb527343a793dc7ab31
MD5 0f67c5cf43c335cec9a991584bb93e10
BLAKE2b-256 cf861f5f91d3d69ec5e2fe41cc99043770ad496d9a7be6d3073f7b7cce8f96dc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fgo_api_types-2024.11.14.22.32.8-py3-none-any.whl
Algorithm Hash digest
SHA256 fb09515c531661127817b52f6487c9e44d338638b81a6e5b1eb424d9b0895c9d
MD5 571526927f482027d0de8c6708e3ba77
BLAKE2b-256 ae95ab314f0898342630cb100a48f6bf6b542e389430514cb15d1514a4133519

See more details on using hashes here.

Provenance

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