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

Uploaded Source

Built Distribution

fgo_api_types-2024.3.20.15.28.0-py3-none-any.whl (99.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.3.20.15.28.0.tar.gz
Algorithm Hash digest
SHA256 3fd9db6dce9617e00375bf6964fec0d654112d5fe3a0b8e4cd8449487e29932d
MD5 31d579af79e41e2c83f2a80719c56b64
BLAKE2b-256 e0a277bff0865fe36777bd216ca0b1bd7c16d913805616c27aac5ad1edbfb195

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.3.20.15.28.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a4baf13b615cc65518d665bd3ac805ec528ac631d4684e7729ef9e3b4713cad8
MD5 1ed4b730ae49331b278374cf4cecdcbc
BLAKE2b-256 5c14fddd36685e1a21603a86740d316552c21a2ad68c6d8a4efb48f7e13bd625

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