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

Uploaded Source

Built Distribution

File details

Details for the file fgo-api-types-2022.7.1.15.49.43.tar.gz.

File metadata

  • Download URL: fgo-api-types-2022.7.1.15.49.43.tar.gz
  • Upload date:
  • Size: 79.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.5 Linux/5.13.0-1031-azure

File hashes

Hashes for fgo-api-types-2022.7.1.15.49.43.tar.gz
Algorithm Hash digest
SHA256 d53b99ea305893a49086198e3afaa9133f0bcf5be52a549edcad4c19afbedb65
MD5 068ede45b67fab0b475e79e3a3e370e1
BLAKE2b-256 9098f9dc16ee43f9f4887d7ed34b17a6bf7a85f517a70bd34df26707639e6b83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2022.7.1.15.49.43-py3-none-any.whl
Algorithm Hash digest
SHA256 64cf5cceee934610d6454e4d370dd2c9b36ab9b725fa9c60152eabc1d921f526
MD5 ffef458367b1b4a4c181ce929ff34225
BLAKE2b-256 cac721f1fd39188830dde5328b82674fe15a246929690a2a0ca93456d6001a9e

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