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

Uploaded Source

Built Distribution

fgo_api_types-2024.4.23.19.35.59-py3-none-any.whl (99.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.23.19.35.59.tar.gz
Algorithm Hash digest
SHA256 5a8d6ff85d2f839ffa9c09593755a22a7f04f3f9829ae9080fcfcdfb364f6bd2
MD5 6eafcfc8a88a783e24bf0796ed319c2d
BLAKE2b-256 c8ca10ba25ff428e26db193572aa2c8ee8d217966ef6b97b75ffdd09954c01d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.23.19.35.59-py3-none-any.whl
Algorithm Hash digest
SHA256 2a5ad9b5e63f88109e846c70aa10daabd24ada68bc8bcbc9307de789f9bdf2c6
MD5 673f22c34269d9892e06e4e4caee7332
BLAKE2b-256 8526a049cf12498db12b0dd9b39dfdcf48f6b6e0f2e06c220fae1c015bafb39a

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