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

Uploaded Source

Built Distribution

fgo_api_types-2022.5.26.3.15.33-py3-none-any.whl (81.2 kB view details)

Uploaded Python 3

File details

Details for the file fgo-api-types-2022.5.26.3.15.33.tar.gz.

File metadata

  • Download URL: fgo-api-types-2022.5.26.3.15.33.tar.gz
  • Upload date:
  • Size: 78.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.4 Linux/5.13.0-1023-azure

File hashes

Hashes for fgo-api-types-2022.5.26.3.15.33.tar.gz
Algorithm Hash digest
SHA256 c16236b1afe7737fa217ac4d39db6929661c3e2fbbbe0f6a8a1729432df8338b
MD5 60aba32a0d00162f11dcfbd93a3cdf5a
BLAKE2b-256 d4bc59b3650005028259e6ef2b37561fe3f7a20e79cfce8d7f421ed8aa434f50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2022.5.26.3.15.33-py3-none-any.whl
Algorithm Hash digest
SHA256 547e30e82421d44e71775e0e37f9573c66c3ea5c938125aa386119e28dfd9d7f
MD5 60a30b72c5673c06f16c1f9019636e01
BLAKE2b-256 802e2d87f75fc91eeffe6168cedd9b55507f951516e39b0328f0f0e3920e9795

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