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

Uploaded Source

Built Distribution

fgo_api_types-2022.8.1.17.2.54-py3-none-any.whl (82.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fgo-api-types-2022.8.1.17.2.54.tar.gz
  • Upload date:
  • Size: 80.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.5 Linux/5.15.0-1014-azure

File hashes

Hashes for fgo-api-types-2022.8.1.17.2.54.tar.gz
Algorithm Hash digest
SHA256 5c2ea949a4c0f2649e9e1ffd1218bd312fdfcdf0ec713293449b0edd584b27fb
MD5 fcc994cdeb7220e9999e5f3a67b3b1db
BLAKE2b-256 31b2e60476b936d022ce1984de8351c49d24cddfb7c0fbc4c93406ba06f03134

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2022.8.1.17.2.54-py3-none-any.whl
Algorithm Hash digest
SHA256 2a08a4cab3e71baf76b420d1bef3d52fff31bf9614bda89c871d403b266821de
MD5 28dc4b9ba66b1f50082ee8ab421e1dcc
BLAKE2b-256 93f5c457b7d55478673cfc8028100a1ce8be185c01047f265244681e33753c69

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