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

Uploaded Source

Built Distribution

fgo_api_types-2024.7.7.12.11.7-py3-none-any.whl (102.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.7.7.12.11.7.tar.gz
Algorithm Hash digest
SHA256 3cb6acb307c9b50127f3b392893cb1858c29773f5914cccdf5b9452d2b6fe3b8
MD5 60eaaca5821aa2e485aafc307b22e5d7
BLAKE2b-256 c59de146cc2f6604dd60557fcdf6ada98d1564239eea6ed68a014130ceef86af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.7.7.12.11.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a8a0f5cf3aa874aa580ada91336da4bf677ed14d61b5fbd23d679469f797dbfe
MD5 db5be07295a0057188069a6a05256825
BLAKE2b-256 0d4c668d3694adb9d9ea77b0cfc0241cd665e320a08a1e221a116444e1de4183

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