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

Uploaded Source

Built Distribution

fgo_api_types-2024.4.6.2.22.3-py3-none-any.whl (99.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.6.2.22.3.tar.gz
Algorithm Hash digest
SHA256 327aadad2aa1857a43fe1ca1880d2af4ee9d80a1c9faa05df14bd91a116fa966
MD5 18405a6c796ea86c34e95e0c73bc650a
BLAKE2b-256 b9413dbb26f0f980c564a1e8ae75299afc724991934ffaf1a8a59ab70aafb784

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.6.2.22.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ee204a4da13ce89730b3834b0d6688e492da44e23b41dc556bcfdf2e727e2851
MD5 9ad8c315b1e68bb976bf58c88d566b63
BLAKE2b-256 487f707616b0a8be31e3b0f8a5eed1177afb6beef4fa0be9913b99dbb1b83af1

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