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

Uploaded Source

Built Distribution

fgo_api_types-2024.4.12.7.54.11-py3-none-any.whl (99.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.12.7.54.11.tar.gz
Algorithm Hash digest
SHA256 3e37515abc007dd6c9e3b4278f00e387c6dac385ffc318dc69726d2b77be0556
MD5 6dff0be4d31588d7c6c1745131144c16
BLAKE2b-256 1f62b8252ac5916ff4f8d9b9f7e32ee3f421c22817390c2387672950e64de7bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.12.7.54.11-py3-none-any.whl
Algorithm Hash digest
SHA256 54556c3b575b5d4b85be36017b7792e44b890f5b806908581ad2b2a05d34e6b1
MD5 7fbd5b06fd8157f6ea6c969dd8e83c6c
BLAKE2b-256 ec61a7aaccf92bb31282ee536b48ecdfd36b63c2eee51e34e8caff56546fe659

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