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

Uploaded Source

Built Distribution

fgo_api_types-2022.10.30.4.44.38-py3-none-any.whl (85.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fgo_api_types-2022.10.30.4.44.38.tar.gz
  • Upload date:
  • Size: 82.7 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.30.4.44.38.tar.gz
Algorithm Hash digest
SHA256 e3798137181f909cd5f38b9d7cc0487098967bf980c63bd1744bd40726c2e21d
MD5 d7d7073558c4a71b326a339d847f9b67
BLAKE2b-256 3a84f7811f3637497688758f616c0d037a457c33b088997e72c02682db05b238

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2022.10.30.4.44.38-py3-none-any.whl
Algorithm Hash digest
SHA256 26ad503031d9021477c1322fa9293a3939ba25b61a07c752ee75a50cbd0c01cf
MD5 05cbd7e7aa514ce90d1ae0d25caedd29
BLAKE2b-256 d976bac283b084f2638e9bbb0f0ee3448ad78441d21df68040cea248927eace0

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