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

Uploaded Source

Built Distribution

fgo_api_types-2024.8.14.10.14.17-py3-none-any.whl (105.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.14.10.14.17.tar.gz
Algorithm Hash digest
SHA256 caf4455a426a560d675ee8668e8ae6a760a39108cea0893e0e6af19d6031454c
MD5 112e6a991e113fbc346e855cdb919256
BLAKE2b-256 51460c66e274326ea25be47510306bf523048ac34cf2a6893fedf778e88b7f29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.14.10.14.17-py3-none-any.whl
Algorithm Hash digest
SHA256 c05a9842f545d092f4e150cd142621dc141dd1b3d52ecc682e35a533521681f9
MD5 a9d59aecc413a2c009ca2173364ac9b9
BLAKE2b-256 f97825fcc523c9949f009a532949a68da2a8a5062bf14a555928157fa4870a0e

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