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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fgo_api_types-2022.10.30.6.21.26.tar.gz
  • Upload date:
  • Size: 82.8 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.6.21.26.tar.gz
Algorithm Hash digest
SHA256 2c485791c60f13c5a8c657e7831e290e5a7cf6a476f798fd148dfbbd197371e3
MD5 e919a7e51ab9b7b49b9ca6fc0b792ef7
BLAKE2b-256 4faf3e931a3ec6fb33921902a9c40e8e909c184d846f748c980911e7bc1bbbb4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2022.10.30.6.21.26-py3-none-any.whl
Algorithm Hash digest
SHA256 fd0159a729cf1b304979d4bd3642d177880246de11afb591319d2c1053694e8f
MD5 0ca79b8b040f0c0786c96fdab28cfcef
BLAKE2b-256 72b904ee6965e462291a232b2e0c6d7f6688dbe65fd4852976504d56fc6ebd2e

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