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

Uploaded Source

Built Distribution

fgo_api_types-2024.8.4.11.35.6-py3-none-any.whl (104.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.4.11.35.6.tar.gz
Algorithm Hash digest
SHA256 60d7e64c29f5782136004997b465fd1079463cd99bb51bb72682981b02f8ffdf
MD5 30b792d235308b358d590d2b3d41fd90
BLAKE2b-256 cda13c962b95de0d941b62f7860443469f031b6a1a2839db9cd06bfec7b38a8b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.4.11.35.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c8f6d49995151b453d77816457e00078062be56ffd4d689db43e098ed97d77b5
MD5 67b0d3baccc4492d89ead2be9244bd60
BLAKE2b-256 8e624f63b24b6911db0295c1f07a6c5b5eff8e23b3793c5dfefcdc1bf4d8cdd5

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