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

Uploaded Source

Built Distribution

fgo_api_types-2024.8.4.10.37.53-py3-none-any.whl (104.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.4.10.37.53.tar.gz
Algorithm Hash digest
SHA256 4e096b0aef7958a71b7d2fd864b3d3601b27972ac82ed26b5863b5f02e8317af
MD5 ebde8c4592b9beca8b93b282460c5853
BLAKE2b-256 afa7e1913a2a35d44dd331b157c557ab6bdb6485a607d07b0055f0c3227a027f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.4.10.37.53-py3-none-any.whl
Algorithm Hash digest
SHA256 8b165c246ee9bad0530213f14e80198cdc9e0d633696dfe23f5a913d002a9817
MD5 f8638e1aebe4f6b363f3b1ee2babd796
BLAKE2b-256 85203829fedde75297d0b3fa98fdf6f11c982e313a584f17dff8b27bd278ca5e

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