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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: fgo_api_types-2023.2.1.10.46.15.tar.gz
  • Upload date:
  • Size: 86.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.1 Linux/5.15.0-1031-azure

File hashes

Hashes for fgo_api_types-2023.2.1.10.46.15.tar.gz
Algorithm Hash digest
SHA256 adaf0b59d96ce40f68089d27bb8e8dc69d109f59a43ecf254c2f6d5db41f5e1f
MD5 8b1e3c30cc7b0a5c9a280337a5bc666a
BLAKE2b-256 b74808e308dd6eade8962b56e698af5a6a21c18c2f7ca164e806760c7f5543c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.2.1.10.46.15-py3-none-any.whl
Algorithm Hash digest
SHA256 6ed4a6ed34b5162332b1f58814fce1981e9b852b07145c233e86f9457dcbf062
MD5 376d7ca1f1e4c544066affaf6a027a96
BLAKE2b-256 46f94b0834ff5abb2658e768f1ae56e0819a05e8d106ea7ba665bc9623361dea

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