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

Uploaded Source

Built Distribution

fgo_api_types-2024.1.30.13.19.30-py3-none-any.whl (98.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.1.30.13.19.30.tar.gz
Algorithm Hash digest
SHA256 39f3f3dc611d6d3f6537200ae7284450c3aad7a9d30f92c68e4e7ff1d7399a08
MD5 d7947ba8a8c72e75db6178f6a72bfe30
BLAKE2b-256 2752bdb52253d7a9a4e0b150897b50bb393669dd2b090ba41c109d37764ef740

See more details on using hashes here.

File details

Details for the file fgo_api_types-2024.1.30.13.19.30-py3-none-any.whl.

File metadata

File hashes

Hashes for fgo_api_types-2024.1.30.13.19.30-py3-none-any.whl
Algorithm Hash digest
SHA256 1dcef4cfe231fc54e40b44e2fbd1af019bbae37792a383eab885242160cfe0bd
MD5 9f9b128935c5c108aa76e070e4af4fb6
BLAKE2b-256 5365c452e5bf615116c76119883145c8889a3966c21ce8f2a26d047b97c5d7b3

See more details on using hashes here.

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