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

Uploaded Source

Built Distribution

fgo_api_types-2024.3.20.11.34.13-py3-none-any.whl (99.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.3.20.11.34.13.tar.gz
Algorithm Hash digest
SHA256 e7476e1027de01bb05d74d7b7dc547b418254919ac93c5c93212d7f9c953a22f
MD5 0319f1185fc7ccb0e640b6e4b125abc0
BLAKE2b-256 a2969ea3e780628ee3e766be1c2f17738bd3a422147adf0065042ba84eacafd1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.3.20.11.34.13-py3-none-any.whl
Algorithm Hash digest
SHA256 2ddc3050d794eec344f8a22f13a76014c1d5e923d41d01192d5ed45c7519ad89
MD5 e5cfd61d8ba4ef09c5959be4434be0e8
BLAKE2b-256 03aa035231a6aad818d5bc47f7859cbe6dd32d71fa37475f6aa8e2e7757af944

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