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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: fgo_api_types-2023.2.7.11.36.45.tar.gz
  • Upload date:
  • Size: 87.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.1 Linux/5.15.0-1031-azure

File hashes

Hashes for fgo_api_types-2023.2.7.11.36.45.tar.gz
Algorithm Hash digest
SHA256 5be09139c416821ddf8186f45cf10a78978e53ec3972d68e572a36d138cc00f4
MD5 a978a2a7dc4006ed243c2f411c896354
BLAKE2b-256 cf5fa446ed9089cca71c0c8fc72c40eff17a55368e91176b91234302dd63cb12

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.2.7.11.36.45-py3-none-any.whl
Algorithm Hash digest
SHA256 c09b0fb36173a7c3d6a91b238c76b11bcb0aa4edc682377fcdcbfc888123bb47
MD5 6ea7df2bd2060ab20c33a8fe0b2e8604
BLAKE2b-256 58a4f21216f5702f75025b5e9607a5a196fd23c05ee9dfbad6d01933c75864d8

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