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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.11.13.10.31.30.tar.gz
Algorithm Hash digest
SHA256 46368085dbba9575234a73d47440c7c50dcf1a2c2ae198b25ce0cc917945be4d
MD5 f75bda8bc3db60f92c3776719775295c
BLAKE2b-256 1469eb4b5103ae387451d98dee50125dcff59c8032a411d825b7f3eea4dd4a62

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fgo_api_types-2024.11.13.10.31.30-py3-none-any.whl
Algorithm Hash digest
SHA256 634175dcd6508bf3230e315f477f6a701115bf788bdd3b4832181ab622180ff4
MD5 8ed729c11a03bebed877ee5686c42bd5
BLAKE2b-256 c6d9a66b8467131bcecc92ded3493ced052aee550276e2d08acc872b49128181

See more details on using hashes here.

Provenance

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