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

Uploaded Source

Built Distribution

fgo_api_types-2024.10.17.1.13.57-py3-none-any.whl (107.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.10.17.1.13.57.tar.gz
Algorithm Hash digest
SHA256 7a8a6bf40130c6e5ec8021d603ccaccdda9b5ea0bc0b7a97d3a128c6f38d464e
MD5 1a7b39021e421b95dd07c656ed3b3a22
BLAKE2b-256 641141e211f3bcdbb2b6917afc139ff237d1fa1f004c3ca2bdea0dc99423e1e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.10.17.1.13.57-py3-none-any.whl
Algorithm Hash digest
SHA256 500dd5546bdfa0d077a162cc42f5f502d9497cef763afa101062853cd9b8964a
MD5 334ce8d2192e4a4eac9d03ab9642c9bf
BLAKE2b-256 0857ed9204dc0e089a79c73f8e8560eee3e77070b5e0189128b31950a9836315

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