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

Uploaded Source

Built Distribution

fgo_api_types-2024.3.18.16.16.31-py3-none-any.whl (98.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.3.18.16.16.31.tar.gz
Algorithm Hash digest
SHA256 600ca19767ffb4c4d65bc460f18b3016dff437632f2c9523bff9b4ac5ec2a711
MD5 28829880d1f178d4765b48a66525cce4
BLAKE2b-256 40306a96baba5c21bceadb1b5534d4f82eb3cf7fd615dbf3183e2853ae3d2d35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.3.18.16.16.31-py3-none-any.whl
Algorithm Hash digest
SHA256 09f970e1782540cc367d839b8d639399acda6be1db83d0a66b9b624a073db3d4
MD5 18530bb837940df5247596e8cc6ebfd5
BLAKE2b-256 7250d5120b351cabf37e8338e04de35c15fec1b8b617f96788dde5cb242068b6

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