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

Uploaded Source

Built Distribution

fgo_api_types-2022.10.26.2.1.37-py3-none-any.whl (85.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fgo_api_types-2022.10.26.2.1.37.tar.gz
  • Upload date:
  • Size: 82.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.8 Linux/5.15.0-1022-azure

File hashes

Hashes for fgo_api_types-2022.10.26.2.1.37.tar.gz
Algorithm Hash digest
SHA256 0e2163fb4a606b7155b2af927d19257ba6e4692b77eaeb5d7be13f440e1ecf29
MD5 ea23a957c761582ddbb67c9ccd703d57
BLAKE2b-256 0d44585fff28b03a1e7aee6a9138778f70e37be28b828a3a3d06a545cda30feb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2022.10.26.2.1.37-py3-none-any.whl
Algorithm Hash digest
SHA256 27158e35b395c2be07ff0889da548cf255341b3ec6f42a2d6c422edf2d666932
MD5 3fb6e49281c83c0ebb5d25c491a4cf94
BLAKE2b-256 45aa82cddf1e4f9158eccba99a3e96e973df731ea9018c4fb405c4679c859cdf

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