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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.2.1.14.31.40.tar.gz
Algorithm Hash digest
SHA256 4d7b4df190ef0db0253f08ec840f9f9aeb0147c2ff8592092d3250e3d8de8280
MD5 7e86117bb11bb116334131cbbbef7d1f
BLAKE2b-256 660d48ec9e880fa726020e8cf33373669f6447eb4169cf9c1bb5562430b731ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.2.1.14.31.40-py3-none-any.whl
Algorithm Hash digest
SHA256 99581d8af17c4c3cf790502a1dcb933cd9dd38bc4abde23d5c484c064690f3f6
MD5 1449473172cb3df275f615bf0e2bb447
BLAKE2b-256 6c111dce3d24a1325675bfda8191bd51b9d7b18ee179097c11ad42c8d2ba65d8

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