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

Uploaded Source

Built Distribution

fgo_api_types-2024.8.28.19.24.22-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.24.22.tar.gz.

File metadata

File hashes

Hashes for fgo_api_types-2024.8.28.19.24.22.tar.gz
Algorithm Hash digest
SHA256 44b2b60e403503cd91494c779c7bf8af36d8d80254c96f47dccd48e4127b2e05
MD5 53a4618db8f3906bc6e25389b9768cc3
BLAKE2b-256 83e94c5179678d2eb2111763f1635330427dc1f90214e04b91e6c721829d3572

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.28.19.24.22-py3-none-any.whl
Algorithm Hash digest
SHA256 3a9b83a1ca40aed94f3c0a56fe4996ddcc1db8c2239eaf94e21997d078a1f1f5
MD5 bcbd2ebd2b8283f654ae6dbe8a863415
BLAKE2b-256 252dd9ebb7e421fb0a6de73794bfcde902f8fdb91ef64679afcb944b5360616f

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