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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.26.11.45.35.tar.gz
Algorithm Hash digest
SHA256 e9fa2746a2ab5c64c3ec73200bac9b0d4b4e8ea483698e5b1a7e6ea77e3f6335
MD5 415b540bbb726ced4ef3318c50fef55b
BLAKE2b-256 696a842aadc00c23ea424946bd447eba06766901959f0445fb0cc6108ef3b68d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.26.11.45.35-py3-none-any.whl
Algorithm Hash digest
SHA256 6a41d2eb33dc65c1980a43c3505e4dd4857eb0bac3646f795469e97142bae618
MD5 16da7707da7dff72754a97ffc45f7859
BLAKE2b-256 b4f927abf77cef897d3da841f59bd89a48c45d1b7da4b80d88c9805946551ef6

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