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

Uploaded Source

Built Distribution

fgo_api_types-2024.1.4.2.32.40-py3-none-any.whl (97.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.1.4.2.32.40.tar.gz
Algorithm Hash digest
SHA256 91f1bb4de364cf1134ca96dd310e38e77103408a41a51611bfe3e8bcc7cafd14
MD5 9bad7500fef21d3d4b1d3d0c75301135
BLAKE2b-256 46a14b6099053c439168ac5d19089c177a7b74a7ffd96bec392961f4d32b8d00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.1.4.2.32.40-py3-none-any.whl
Algorithm Hash digest
SHA256 f947764d2935685b1e7344a66a4fc96f992f10f7017ac6ed2f360fb918b6fb71
MD5 9eb59967430060c76bc7630d0f4fa28e
BLAKE2b-256 94ad32e5859b6916620b4b16f667624625ef695c949a2ba5440f5698eb151bc8

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