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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.25.22.59.52.tar.gz
Algorithm Hash digest
SHA256 e0ff2e57c980849688fd254ac089eb58349785b8a54a64a7d89f327d93bde849
MD5 20dde207be23c91487007f23297b77d2
BLAKE2b-256 1984f70b5bac7e94a6c048851eeb5860dfb77c5e7d6025c833a9ee41c89dfd33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.25.22.59.52-py3-none-any.whl
Algorithm Hash digest
SHA256 dfaf5d596f6f2263ff3ad46f86ce3b8c25d77dba6e251747d1b5640ab4155426
MD5 df2453c680162254a4d16c25122f493c
BLAKE2b-256 09866868bdeeccefd730337395a27d495f12d813e4a2876324ece25c81971c3f

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