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

Uploaded Source

Built Distribution

fgo_api_types-2024.11.13.13.41.45-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.41.45.tar.gz.

File metadata

File hashes

Hashes for fgo_api_types-2024.11.13.13.41.45.tar.gz
Algorithm Hash digest
SHA256 34540f4fc97f0109bebd765ab2161d0adc6a0d1228728092208bdba1f8c4ec3d
MD5 bc114f725acd611cd0bfd880969ab2ed
BLAKE2b-256 66f88b9e38c1f8311560615069db551a4be8496055ce6a8d89d0932ab5debd31

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fgo_api_types-2024.11.13.13.41.45-py3-none-any.whl
Algorithm Hash digest
SHA256 ba46ccf1252dd0595f829e967c74ced71ed6b10e92c6aa7f59164d9ffa19e848
MD5 0dfbd5af0d76907c622305eb6300242d
BLAKE2b-256 542026e7e71a1cbf391d4462e70ebacfbfc414cff724ae28e943afc20b6a38ea

See more details on using hashes here.

Provenance

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