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

Uploaded Source

Built Distribution

fgo_api_types-2023.11.29.4.39.2-py3-none-any.whl (96.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.11.29.4.39.2.tar.gz
Algorithm Hash digest
SHA256 5a5ccda6bf9d997d57bc6da78c2f99f24964670a3cc3ffb4e31a02f5aa9ea42f
MD5 cfe0ac9544c71229ccd650a267c23971
BLAKE2b-256 31149fd76220dd7a19d05b74bc0542ca9eed463f87ab95c735b8547a64d7f2d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.11.29.4.39.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bf231eca4ad16058dbf8b1deb845521cfe1233771749f9747da0667cb549af17
MD5 464669ee1776321e11271d700a3960c8
BLAKE2b-256 2c92e3cf9ebe3350fa1996e330f348498e6713809602d69d536c376c7631f8a5

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