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

Uploaded Source

Built Distribution

fgo_api_types-2024.5.1.1.59.10-py3-none-any.whl (101.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.5.1.1.59.10.tar.gz
Algorithm Hash digest
SHA256 4e9c5ee9e7640b4c259745a5236c6f6b7898a578646b7d703a30d006056a2b5c
MD5 043fb46299f02632e01eadfe11e236c9
BLAKE2b-256 c7c6796b6d74fafbcd88f934eaf27a5f875743f51a0113129ace231f510b6a4d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.5.1.1.59.10-py3-none-any.whl
Algorithm Hash digest
SHA256 52047be135f7bb02a81c47f53acf9ac0b7c39283f45b589394e8b64b06233589
MD5 9ad3d75c95c680d6d19f44ade27d8922
BLAKE2b-256 aef8c341e0e25b504b9e44ca4d430d09f59392606af9d79bff2ac323cd07f56c

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