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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.5.12.8.13.58.tar.gz
Algorithm Hash digest
SHA256 293c3a94265c7ba20202ba48ffa070e4e2fe99abb1074e44d992091e2e4c7f4a
MD5 0348b47205466247e492800cc52967e8
BLAKE2b-256 24976f41a3bd1b40c3ede9204fdad25375e49555ae8e2804a7801f0a128563d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.5.12.8.13.58-py3-none-any.whl
Algorithm Hash digest
SHA256 5cfc8a310b65403a6179898b1580bddc34ee21ee4cec7ebe50d4facd8e1b50e3
MD5 b88cb756110c45b27d57399fe977534c
BLAKE2b-256 c38bf2c21604a2d5594306eaf8e9118667b6270ac2e45c800eea84a909484610

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