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

Uploaded Source

Built Distribution

fgo_api_types-2024.9.11.9.15.18-py3-none-any.whl (106.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.9.11.9.15.18.tar.gz
Algorithm Hash digest
SHA256 da1734113b63e33675da05ad61349e143082b48a4521ea062c4bc9d4701e5a98
MD5 3c5fd6bb4c5b879f00c6275e07d203f3
BLAKE2b-256 c55eb3b395d937e9211b1df0072d899177353753a938d3d5f10bd91c18e3611c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.9.11.9.15.18-py3-none-any.whl
Algorithm Hash digest
SHA256 a3bcacb05e86b645be8187bfe8e0d73198067d85e2d8c1a7de669180e59d3e45
MD5 c615b5b2a0e415115fcafe5523921a2f
BLAKE2b-256 e561deb8bb195f6a2ed880c43a732aa7c0a2106447c23b7a3066c2bd18a8cfdb

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