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

Uploaded Source

Built Distribution

fgo_api_types-2024.10.16.14.52.41-py3-none-any.whl (107.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.10.16.14.52.41.tar.gz
Algorithm Hash digest
SHA256 98212cc17a61826d8c6a0ae9b2737c5c5b3c3f416b3484b21be5f2d65e6ea863
MD5 50608c12df10dbc5e99d3e99a1e563be
BLAKE2b-256 a583c53725482bbbb1792b54530393e617e97f5ca4de0fcbf4130d6a4c205292

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.10.16.14.52.41-py3-none-any.whl
Algorithm Hash digest
SHA256 18e6e3f3f19d1033870956a3992e0a89cc4ed5b633e5da7d8d1aa7c940a28be4
MD5 6e0c4b4a1a1044bbaf7534498dcf1fad
BLAKE2b-256 36eb52220b26d9df21f3d88ab9bccac50faee85ae29887b85d87fd4e4f0db1d6

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