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

Uploaded Source

Built Distribution

fgo_api_types-2024.6.23.20.18.35-py3-none-any.whl (101.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.6.23.20.18.35.tar.gz
Algorithm Hash digest
SHA256 12fda5f12ed8378e4f87b9e0a5bc3f9a37f2fab98391d1c96c2a54f638e0be4d
MD5 33cceb9cf0bad6527a3a17693d8fde2e
BLAKE2b-256 f3661fb551ed5629e57ff04bd2b2707c7c43fd45938cbc63ff84e7397d807d34

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.6.23.20.18.35-py3-none-any.whl
Algorithm Hash digest
SHA256 f4e5882e4c04a955e07909d03aeb28b3dc2312570ca5f4f1ca2b6029b8a9b7be
MD5 8870508bd0bd73e40b77b98c91237fd2
BLAKE2b-256 c7964881b0488fdcd08cf558e2b1badccda7d840dd916b20b69bb702b6480ae7

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