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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.11.17.11.24.47.tar.gz
Algorithm Hash digest
SHA256 3bdb2ea44154a0095cda55dca0e678abaa9b53b2adf79a5e94b7d04d94d87113
MD5 5ffe01dd1df31f66b09ef319705f5d11
BLAKE2b-256 fb13ebed1c671c4681726ce316932ae84969d251902b2226836582bd3322dc77

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.11.17.11.24.47-py3-none-any.whl
Algorithm Hash digest
SHA256 cdef541203d21a14a3279b2c5ffbf127ca6e69f2f0cbc21b2d3e7597301173e9
MD5 7b7f21eb1e0dbd07c632740898528f79
BLAKE2b-256 5455d39a0d675d4735fdf1a5c252a535e6bb5db74eec68305d277f185715d806

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