Skip to main content

Add your description here

Project description

universalisapi

A Python wrapper for interacting with Universalis.app's public API.

Installation

universalisapi can be installed with pip or an equivalent via:

$ pip install universalisapi

Usage

from universalisapi import UniversalisAPIClient

client = UniversalisAPIClient()

Supported Endpoints

All publicly available endpoints are planned to be supported, but this tool is under active development. A list of the currently fully-supported endpoints is provided below.

  • /data-centers
  • /worlds
  • /aggregated/{worldDcRegion}/{itemIds}
  • /extra/stats/least-recently-updated
  • /{worldDcRegion}/{itemIds}

You can find the Universalis API docs here.

Generic usage

client.get_endpoint() is a method that takes an endpoint stub and appends it to the base API url of https://universalis.app/api/v2 to form a request. Any unsupported endpoints may still be accessed easily through the use of this method. All responses should be a dict or list of their raw JSON format, but further support for these endpoints is undocumented for this library.

A Note on Game entities

/extra/content/{contentId} is listed as "largely untested" by the maintainers of Universalis's API. Until it is further documented, no official support for this endpoint is planned.

Documentation

Universalis's public API documentation is available here.

Documentation for universalisapi package is in development.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

universalisapi-0.1.1.tar.gz (279.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

universalisapi-0.1.1-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file universalisapi-0.1.1.tar.gz.

File metadata

  • Download URL: universalisapi-0.1.1.tar.gz
  • Upload date:
  • Size: 279.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for universalisapi-0.1.1.tar.gz
Algorithm Hash digest
SHA256 dd4aa5d1d04e72f110cf9973ea338d1151ed1b3290c4727fe047fe1dee29df09
MD5 b4c50dcb1138a4aa88289ff421735c19
BLAKE2b-256 ca8bcfb6c4443447ddd81a233ff87a31e34f10e1967d824fa2a5d9c2331248cb

See more details on using hashes here.

File details

Details for the file universalisapi-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: universalisapi-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for universalisapi-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5b4559cbd513e0bd48f6a97803d9704542db362527a8197ba35e353f07a7e1c8
MD5 9e3c5efdbefe372ac192672bba6e5ffa
BLAKE2b-256 a793abbc44eb49c9c7daa74d9d7d6509cc48ed6ce1b7112f0dbcd007f03ba765

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page