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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fgo_api_types-2022.10.26.4.38.58.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.26.4.38.58.tar.gz
Algorithm Hash digest
SHA256 390e5f470fe020cfe181355e0b3605e51df049fc33688dab666a441d96e3ac4e
MD5 d894e7edb92d80637ce11be2bc1c5ab5
BLAKE2b-256 dc483ae6c85790aa7ad57c07396bcb1856ab18b06f9c02e45091aae7cace8f50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2022.10.26.4.38.58-py3-none-any.whl
Algorithm Hash digest
SHA256 e7a4a069f7c7bc6a2b094f7d3b5d965bf082dc43fc93d9554854fdcfe039481d
MD5 168b67847faed2bfdf83e9859863b9a3
BLAKE2b-256 2a17635ad4e9f92b84c4c5821f3f4d843a0071d2897590566b00d69dafddb561

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