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

Uploaded Source

Built Distribution

fgo_api_types-2024.8.28.19.21.15-py3-none-any.whl (105.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.28.19.21.15.tar.gz
Algorithm Hash digest
SHA256 4a0a23c61adb74197a1ea9e886297e722475a6eccbecb745a2da9aa27272139a
MD5 acd3355a6139536ff93db8f32d3299ef
BLAKE2b-256 9fce2284bf1ac370b58b32ffc8ba1bd6e2215358fd26ee6217714f9084381114

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.28.19.21.15-py3-none-any.whl
Algorithm Hash digest
SHA256 13832694f6a6f1c3720eec7288d824d721bedc20d5923838d755ec61d127d0d2
MD5 32389b9cf2ce30d36b8f0e786cf78e7e
BLAKE2b-256 44720f11b8470edf779bd3d8e2024d12741f0d3e48fa2c8e0ae0de9743d7205f

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