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

Uploaded Source

Built Distribution

fgo_api_types-2024.8.14.11.8.35-py3-none-any.whl (105.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.14.11.8.35.tar.gz
Algorithm Hash digest
SHA256 33f7c36024b7b81b1be723ab14c3d58216906bf40478ec1cd34adddc0e845465
MD5 ce48efa994153aa9370e9390a994c222
BLAKE2b-256 da443e978e4166913f5460b27fd041458b9e5ab5c1e301bb9720e2c9d7ba885a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.14.11.8.35-py3-none-any.whl
Algorithm Hash digest
SHA256 1cb22fc5001bf06a25aaf1d320d25a041abd1c011a5617e83fb22c3b733d6183
MD5 748228bd040b8894ee092927839a1404
BLAKE2b-256 8f572397ac868d1ef317f720591323bcdeab3d54ad031177e2a5cf603cce6fd7

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