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

Uploaded Source

Built Distribution

fgo_api_types-2024.4.26.2.28.0-py3-none-any.whl (99.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.26.2.28.0.tar.gz
Algorithm Hash digest
SHA256 ad6945e69b60b756da2c18b133f02e27bb84cac8e2a335a8033f9e2688fb531e
MD5 614f64b2a14186e5dda912fe08ce51ab
BLAKE2b-256 eb0976d65755a62ee830b457e0f6f32b42b8a7d308d61aaee1f07ace2551b2de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.26.2.28.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58f2e6e76d7ca8a3e417ec45ac7123e30b41d5ce3b0690aa7e58e136c5cd5095
MD5 19f27d5a1f69b5ea9235474db55b51ed
BLAKE2b-256 70804fc1e86e4af37132dc292e9cc1cf8c16e32fd4f4be0a63d06b79dca00d8c

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