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

Uploaded Source

Built Distribution

fgo_api_types-2023.5.30.4.51.47-py3-none-any.whl (92.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fgo_api_types-2023.5.30.4.51.47.tar.gz
  • Upload date:
  • Size: 88.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/5.15.0-1037-azure

File hashes

Hashes for fgo_api_types-2023.5.30.4.51.47.tar.gz
Algorithm Hash digest
SHA256 8651d1d2795b48e54a04c80223caf7387998ee8f3fdf88c3833755fbdf44951e
MD5 e71efb74ec517f85e1cf7890a983ce44
BLAKE2b-256 a98159dde0f15ad1103a77916b6d5955e018303f876904dce2cf582b0043f0bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.5.30.4.51.47-py3-none-any.whl
Algorithm Hash digest
SHA256 b28fe394797b0cc2562b31418074f98e30cf5a9a5a61853d81158592d79a320a
MD5 92aabc60421aba38695e0b16d27444ad
BLAKE2b-256 56528b05358d13e675f98d2d86c3c928195869defdfa1e91257211274d16848b

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