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

Uploaded Source

Built Distribution

fgo_api_types-2024.6.6.23.12.42-py3-none-any.whl (101.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.6.6.23.12.42.tar.gz
Algorithm Hash digest
SHA256 f7558230292f020632c8ba4fcd66240d2f7fc7c41981344cacffdcc4fdee2d6c
MD5 09ff0fa4da90270b0e344bfab43a3213
BLAKE2b-256 5f6a75656875bbeb655c8f08ae9e513fd247e44b5de5668c7825b82c66fa9690

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.6.6.23.12.42-py3-none-any.whl
Algorithm Hash digest
SHA256 3c693fb75c0c981db1fea6be10f4983fc1f27ef92e4e243c4183f669738d9a83
MD5 13026aac04b56f77edb02de4f4073bba
BLAKE2b-256 f75a3207f2f1fba028c6385eb2058d1421edcebe94015b96f1c5dfcd7006f688

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