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

Uploaded Source

Built Distribution

fgo_api_types-2024.4.26.16.4.2-py3-none-any.whl (101.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.26.16.4.2.tar.gz
Algorithm Hash digest
SHA256 9afbb2297f13e6447b5f5871a13d358bb86222edb7e6ef80b0ba5510a6c3bcc5
MD5 30754fdbd6124f25fe9dc1f6db5c28e0
BLAKE2b-256 89f10b9383d90e89f3e33822c1ec2635558eb108922e17313c4ee762cab662eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.26.16.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 db486e0301bcd378ee1eda6d40426820f1994d207d1dcf527bcaf7e8647b1bb9
MD5 b9838bb4e1e3f23962ae894099574f21
BLAKE2b-256 26aaacc91ecc1593beba264af9de985806f2870ba40477925ef2338cb42e2ec1

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