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

Uploaded Source

Built Distribution

fgo_api_types-2024.3.20.7.27.10-py3-none-any.whl (99.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.3.20.7.27.10.tar.gz
Algorithm Hash digest
SHA256 4df8a369a6eeefea9052991d5a78899d0b29dd522e456109723ef515bd3e2ede
MD5 21cef713beb6d1a94afcfe7cde96df51
BLAKE2b-256 1eab6ac8ba82edd0956db468a832710bd29f38b887fdffee01e064755bbd608a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.3.20.7.27.10-py3-none-any.whl
Algorithm Hash digest
SHA256 eba618de10e5940e67ed0344df501646dce138354e9384d8ffe023a6f7eb7f16
MD5 537ffb03bdab8926cb95c0fe0e4933d1
BLAKE2b-256 75a37858bd5fc4664ef7347bc6faf0520c8674d4c766deebd4158f7732b6c64d

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