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

Uploaded Source

Built Distribution

fgo_api_types-2023.12.15.19.12.7-py3-none-any.whl (96.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.12.15.19.12.7.tar.gz
Algorithm Hash digest
SHA256 e8d36e83349807dff9d4e29f62ed9407e114c2afc197cdc3b83d1588d3a3c931
MD5 aedf2e4624901097aad6128a4a72f5e5
BLAKE2b-256 f2a5fe185ade5e7cf02811c08171331afbec6324eb5952df94795904050155fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.12.15.19.12.7-py3-none-any.whl
Algorithm Hash digest
SHA256 998aa011b6817903f8b8558b9945c64ba7a4b055627331684986580036344053
MD5 6c1d164558dcff7dbfd717b9f49d1596
BLAKE2b-256 0bb46c9f4d2d620c62016e72602cb21cf259140376a610441682864321bb2533

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