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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: fgo_api_types-2022.12.3.6.33.50.tar.gz
  • Upload date:
  • Size: 84.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.0 Linux/5.15.0-1023-azure

File hashes

Hashes for fgo_api_types-2022.12.3.6.33.50.tar.gz
Algorithm Hash digest
SHA256 2116dbc27b60318acb32cdfd9cc34395964ad6e886f50483ce28731c62be2a1a
MD5 82c8473e645c520b9719dd0f239c15e2
BLAKE2b-256 b032245e404c51a85e55d53fd5df737a57d77ca9bf7fee2ba6d4ed4b352bbe84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2022.12.3.6.33.50-py3-none-any.whl
Algorithm Hash digest
SHA256 545dbe80d237811f0b5188426451ff06636d407d687bf5e8be45afba20876b0a
MD5 863e2ebe80274c6037cab5cb14b44acf
BLAKE2b-256 11fffa0225b6ea5663c45f3c54058caaf9124be448d4eb262d5d244ca4e2e97e

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