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

Uploaded Source

Built Distribution

fgo_api_types-2024.1.30.12.58.13-py3-none-any.whl (98.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.1.30.12.58.13.tar.gz
Algorithm Hash digest
SHA256 cffa42235fc5153ff519bafcc4e78835f5a2363d388d54a3e9d4df8c4692e8d7
MD5 ccf0543cb88306a8e4a6c174bdbe73aa
BLAKE2b-256 d2908fe00472589a1e812d72d241f276cc3e2633e710ed6bb55ea3c2e93c1de5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.1.30.12.58.13-py3-none-any.whl
Algorithm Hash digest
SHA256 c9ead0c8295b5e21bd82b6b90db11553a0023ae64ab714e7d2a7ada553eceb83
MD5 7888686d6e743fc6bca5c15eb3d1eee8
BLAKE2b-256 45b8fcf3d6c2d02439123a839e366b02a898c2995d7e6f8179c2431f9627549f

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