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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.10.25.22.48.18.tar.gz
Algorithm Hash digest
SHA256 10c36731c46522bd9850dd8cba982fa352ea760dcbed65a2c503a4c5c2f69446
MD5 6f89bd6236ead55435f765904852c17c
BLAKE2b-256 b305eb7211b36435e8c5c3156082a209498fac94b609a82fdf70a6c10140c5dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.10.25.22.48.18-py3-none-any.whl
Algorithm Hash digest
SHA256 9caf7268484138f1bda615d1a434e6c342e8698fece5e5a88968d332e4767efc
MD5 1ad64933f2d179cbfc25fdfaf3aadfe7
BLAKE2b-256 cc153f2e4634a724f255e57e1cb9bcd3a5b4ff5fe9ff7a51ebc4f39d04040a8c

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