Skip to main content

An asynchronous wrapper for the Hypixel API.

Project description

PyPixel

Discord Server Invite PyPI version info PyPI supported Python versions Documentation Status

An asynchronous Python wrapper for the Hypixel API.

Installation

Python 3.6 or higher is required

You can install the package with the following command.

# Linux/macOS
python3 -m pip install -U pypixel-api

# Windows
py -3 -m pip install -U pypixel-api

Or, you can install the development version from the GitHub:

# Linux/macOS
python3 -m pip install -U git+https://github.com/plun1331/PyPixel

# Windows
py -3 -m pip install -U git+https://github.com/plun1331/PyPixel

Examples

You can find some examples in our documentation

Changelog

0.2.0

  • Removed API Key validation.
  • Added support for the /skyblock/auctions endpoint.
  • Added stripFormatting(text) to HypixelUtils to strip Minecraft text formatting from strings.
  • The wrapper now sends an Api-Key header to authenticate with the API instead of the key path param.
  • The wrapper will also send a User-Agent header to the APIs that it uses.
  • The cache no longer uses Threading.

0.1.9

  • Added support for the /resources/achievements endpoint.
  • Added a kwarg to bypass API key validation.
  • Added this changelog to the documentation.
  • A few other changes that can be found in the docs.

0.1.8a

  • The module will now return None instead of having the value simply be missing.

0.1.7

0.1.6

  • Add some methods

0.1.5

  • Released to PyPI

0.1.4a

  • Added a changelog
  • Introduced SkyBlock Profiles
  • Added 3 new fuctions to .Hypixel (.get_name(uuid), .get_uuid(name), and .get_profiles(uuid))
  • Deleted Other.py in favor of a submodule, utils
  • Moved the send_request() method to .Hypixel and renamed it _send()
  • Added a new requirement, NBT (Used for parsing NBT data).
  • Added some exception classes.
  • Started subclassing object for no paticular reason.

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

pypixel-api-0.2.3.tar.gz (32.8 kB view details)

Uploaded Source

Built Distribution

pypixel_api-0.2.3-py3-none-any.whl (49.2 kB view details)

Uploaded Python 3

File details

Details for the file pypixel-api-0.2.3.tar.gz.

File metadata

  • Download URL: pypixel-api-0.2.3.tar.gz
  • Upload date:
  • Size: 32.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.3

File hashes

Hashes for pypixel-api-0.2.3.tar.gz
Algorithm Hash digest
SHA256 c45b9332fe07cafc3da7987df2c71eed8a18bf9becab73fb557a5c527acb127b
MD5 8185bfd2cbe023e9547a66d8bc0d6f9d
BLAKE2b-256 22f0a5a714ebcc12071791a6bcba93b8b1b411c473c2b316c6317386739639dd

See more details on using hashes here.

File details

Details for the file pypixel_api-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: pypixel_api-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 49.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.3

File hashes

Hashes for pypixel_api-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4748003eccb09ec213676c6f0ca6e2215dad8f11548492bfae078ddf19e598af
MD5 288895910833886114a031192c7bb503
BLAKE2b-256 42d2010deb390f205a7481d26180d36f43cf83848b541d0305609236429c8edc

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