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

Uploaded Source

Built Distribution

fgo_api_types-2024.8.29.14.3.59-py3-none-any.whl (106.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.29.14.3.59.tar.gz
Algorithm Hash digest
SHA256 f99718766d6df0998ed9e18a2b8a723246ba08eb5ba26f528ba3455b320e6aa8
MD5 b07ecd4566036fa9c6bbc83d608e12b8
BLAKE2b-256 f5a1c07f95fc442fd296dd55900bf6c4d62dd25ade7f3d6262c4be6c100edd25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.29.14.3.59-py3-none-any.whl
Algorithm Hash digest
SHA256 64b5d244dc59b205ace26e3267819a44d4f91d9f05af8f2c40e001065e39fbe2
MD5 98739729ffd6afe6912d7d9e2a461cca
BLAKE2b-256 fd0ed97411d25700736ec72e46f9bb27e29171511be8d8aa77dfd28053f8b3ff

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