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

Uploaded Source

Built Distribution

fgo_api_types-2024.8.15.1.12.0-py3-none-any.whl (105.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.15.1.12.0.tar.gz
Algorithm Hash digest
SHA256 bd402d3521495ceb75f1ecd9a6f3b59281223eafd32cf5d87f6cc892ddbbfe37
MD5 14b19b321cb0a65bb2473175b4689d7c
BLAKE2b-256 dd5bac0acd523492a061cd92b56de6452fe1563fb90b9af9e46312f5c20050cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.15.1.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 114ba3ba0f704d21ec33db8ccc485b7d0b2ab52226dde3bced778c6894326375
MD5 4c248a10b557c8bfe2e39b84799a35bc
BLAKE2b-256 0eef63a1286048418391d9aec35ec2080faa53d858b71d0f07894fb3f49ad621

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