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

Uploaded Source

Built Distribution

fgo_api_types-2023.10.25.4.31.8-py3-none-any.whl (95.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.10.25.4.31.8.tar.gz
Algorithm Hash digest
SHA256 091b68b222a509ba66d3d678101044850aa9240287cfa63a8487a9e3d40004b7
MD5 d78d40fa8e989369206b8fab78c41f65
BLAKE2b-256 daf992f77a7d0250d64bbc587add1753c7ad5272fb6e47cf8f9131c99f7e57f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.10.25.4.31.8-py3-none-any.whl
Algorithm Hash digest
SHA256 e54254efed85f4bd37b2c57be8d3a2165f9c06fd7a7deaefc055e220f6c9b00e
MD5 e6bb72c08dbfb1807935b577940b73fd
BLAKE2b-256 7b23f4e61275d548b6a9f2d5b9418a7abfa0caa311aa4680040e80fc3eaca58d

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