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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.1.8.13.32.37.tar.gz
Algorithm Hash digest
SHA256 e9b38f45d31bdb9c9eb3141cc2e2afea8e86fca27671c55988ebc85a63bbfdfb
MD5 3e053e9bf6ac57a0fc2e5167891d831a
BLAKE2b-256 a21609f8daffd435ecf8126aaf57ee0b345fd25bbf0febccafb7125a93b10d77

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.1.8.13.32.37-py3-none-any.whl
Algorithm Hash digest
SHA256 ab15ee4a5dce5ea793bfded599cf54bd041658ba6a57f8d2af143f8253d94add
MD5 8befc9698b5167ab7de8ef47df815025
BLAKE2b-256 5b9c45e6ca8b0aa29746f7d72e28416196f410b7b210093acaf120131bdbbc4c

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