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

Uploaded Source

Built Distribution

fgo_api_types-2024.8.7.22.53.55-py3-none-any.whl (104.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.7.22.53.55.tar.gz
Algorithm Hash digest
SHA256 ccd17efe8c22aba89d55350876cc7fb04af00edeffbb787963c2f0bab5f97af4
MD5 443e2f7e81d527a58e2b42deb2930940
BLAKE2b-256 6ecc239f08088aca74dd0d011d3453fcc3fe4eb45937c70a802194273b58bdc9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.7.22.53.55-py3-none-any.whl
Algorithm Hash digest
SHA256 6a4dfddca2fb59f5bb2c090bbf74739a7c5038007d1db173bb99f41177ee1b01
MD5 860ccb3276d8bf5e183ac0d8eeeab2fd
BLAKE2b-256 dc03e9d5ae93e8ea1cfd6f17e69b2d84102db354524369e5625c215f33a48a0a

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