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

Uploaded Source

Built Distribution

fgo_api_types-2022.5.14.3.22.42-py3-none-any.whl (80.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fgo-api-types-2022.5.14.3.22.42.tar.gz
Algorithm Hash digest
SHA256 d8bdd5f45f6ad85458f76bffcdd7b14ec8a3d58792da22e3900701493b85fed6
MD5 d6f2ad69e7536c75c93b3db8dcd69019
BLAKE2b-256 b861bfcbeb5542c3c8b51207c89c67792b7e28db981e97a3e56f1b08db3f3fde

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2022.5.14.3.22.42-py3-none-any.whl
Algorithm Hash digest
SHA256 8d6a7c4c656c7720e72abf3ec5cfdc67fe91f09abf6bb9a192fff67789c616c1
MD5 505bb52fd5f82a9821009f0eef85c7d1
BLAKE2b-256 ee8e81b1bb45de61a17349ba7ae105224172b948dadf928b31d1bbd4e940d914

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