Skip to main content

API Wrapper

Project description

psutierlist-api-wrapper

A fully-typed, modern Python wrapper for the internal API used on psutierlist.org.

[!WARNING] This library is not affiliated with the website or anyone behind SPL's PSU Tier List. It may break at any time if the API changes, due to this being an unofficial wrapper that relies on an undocumented API.

Installation

This package is on PyPI, so you can use pip:

pip install psutierlist-api-wrapper

Usage

Sync usage:

import psutierlist_api_wrapper as paw

def main() -> None:
    pages = paw.get_pages()  # type is `paw.Response`

if __name__ == "__main__":
    main()

Async usage:

import asyncio
import psutierlist_api_wrapper as paw

async def main() -> None:
    pages = await paw.get_pages_async()

if __name__ == "__main__":
    asyncio.run(main())

Docs

I have not written docs yet. The code is pretty simple and self-explanatory, so you can just browse through psutierlist_api_wrapper/__init__.py and psutierlist_api_wrapper/enums.py at the GitHub Page to see how everything is structured. Sorry for the inconvenience!

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

psutierlist_api_wrapper-1.0.3.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

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

psutierlist_api_wrapper-1.0.3-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file psutierlist_api_wrapper-1.0.3.tar.gz.

File metadata

  • Download URL: psutierlist_api_wrapper-1.0.3.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for psutierlist_api_wrapper-1.0.3.tar.gz
Algorithm Hash digest
SHA256 d1ff93afc8e531a725e47d83a7b8c6559f81993abb4cdd7d519bb005c2b81e47
MD5 8ba0d71df94b58d7b9b008ff085d64fa
BLAKE2b-256 93ce022a3094609fb66f770536ec4b1316457f2b7e96d2d56b7676b5606455c0

See more details on using hashes here.

File details

Details for the file psutierlist_api_wrapper-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for psutierlist_api_wrapper-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e2843461eeae50cb8ed6a7a49607dbc8416eff87e50eed033a32b7e66c99751b
MD5 628aa9c94f3ee1fa824850e91bf0e335
BLAKE2b-256 0d7658d62fbede293346fb4ae7905d875302e07f730211e2179d599ea318ef2a

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