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

Uploaded Source

Built Distribution

fgo_api_types-2024.9.12.1.36.42-py3-none-any.whl (106.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.9.12.1.36.42.tar.gz
Algorithm Hash digest
SHA256 1b4a78c17e5569fa280ec082093084b2cbcc8c0728cfc38c95873e7944c458d5
MD5 37aab621670bf4d9c9e0adfb1d5e297b
BLAKE2b-256 58e1d433fea1543ead55e3ff323aafc0f29c3c2b07c32eda00154a45fed709b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.9.12.1.36.42-py3-none-any.whl
Algorithm Hash digest
SHA256 a8db058c9052bb2fabe898703ac9561a5102eb6612a1def2f2c11888d193c933
MD5 676faf333fd913a2861b43e23a947eec
BLAKE2b-256 04c19aab47e31f1f299d2d37bf51109dd3dd4776f27a4502352ee1d4eaba2ff9

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