All Projects → janaSunrise → HypixelIO

janaSunrise / HypixelIO

Licence: MIT License
A Modern Efficient and Easy way of interacting with the Hypixel API!

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to HypixelIO

asyncpixel
An Asyncronous Python wrapper for the Hypixel API.
Stars: ✭ 22 (+37.5%)
Mutual labels:  hypixel, hypixel-api
MaroAPI
A lightweight Hypixel Skyblock API, providing a user with an easier way to communicate with Hypixel's API.
Stars: ✭ 205 (+1181.25%)
Mutual labels:  hypixel, hypixel-api
hypixel-api-reborn
Feature-rich Hypixel API wrapper for Node.js
Stars: ✭ 80 (+400%)
Mutual labels:  hypixel, hypixel-api
Simple-YouTube-Downloader
YouTube download client with focus on simplicity
Stars: ✭ 31 (+93.75%)
Mutual labels:  pypi
rdkit-pypi
⚛️ RDKit Python Wheels on PyPi. 💻 pip install rdkit-pypi
Stars: ✭ 62 (+287.5%)
Mutual labels:  pypi
openrefine-client
The OpenRefine Python Client from Paul Makepeace provides a library for communicating with an OpenRefine server. This fork extends the command line interface (CLI) and is distributed as a convenient one-file-executable (Windows, Linux, Mac). It is also available via Docker Hub, PyPI and Binder.
Stars: ✭ 67 (+318.75%)
Mutual labels:  pypi
mongo
Light-weight utilities and declarative schema (mutable mapping) to augment, not replace the Python MongoDB driver.
Stars: ✭ 18 (+12.5%)
Mutual labels:  pypi
slamdunk
Streamlining SLAM-seq analysis with ultra-high sensitivity
Stars: ✭ 24 (+50%)
Mutual labels:  pypi
django-admin-page-lock
Page Lock for Django Admin allows developers to implement customizable locking pages.
Stars: ✭ 13 (-18.75%)
Mutual labels:  pypi
text-normalizer
Normalize text string
Stars: ✭ 12 (-25%)
Mutual labels:  pypi
proxpi
PyPI caching mirror
Stars: ✭ 19 (+18.75%)
Mutual labels:  pypi
aceso
Python package to calculate 2SFCA and other measures of spatial accessibility
Stars: ✭ 20 (+25%)
Mutual labels:  pypi
intrepid
Intrepyd Model Checker
Stars: ✭ 14 (-12.5%)
Mutual labels:  pypi
flytekit
Extensible Python SDK for developing Flyte tasks and workflows. Simple to get started and learn and highly extensible.
Stars: ✭ 82 (+412.5%)
Mutual labels:  pypi
starcli
✨ Browse trending GitHub projects from your command line
Stars: ✭ 436 (+2625%)
Mutual labels:  pypi
tchamba
Tchamba.random, is a real random data genarator (letters, jokes, names...)
Stars: ✭ 11 (-31.25%)
Mutual labels:  pypi
cookiecutter-pypackage
A cookiecutter template for Python package with heavy use of Github actions
Stars: ✭ 19 (+18.75%)
Mutual labels:  pypi
wheelodex
An index of wheels
Stars: ✭ 20 (+25%)
Mutual labels:  pypi
maloss
Towards Measuring Supply Chain Attacks on Package Managers for Interpreted Languages
Stars: ✭ 46 (+187.5%)
Mutual labels:  pypi
pipsalabim
An assistant to guess your pip dependencies from your code, without using a requirements file.
Stars: ✭ 15 (-6.25%)
Mutual labels:  pypi
                      __  __            _           __   ________
                     / / / /_  ______  (_)  _____  / /  /  _/ __ \
                    / /_/ / / / / __ \/ / |/_/ _ \/ /   / // / / /
                   / __  / /_/ / /_/ / />  </  __/ /  _/ // /_/ /
                  /_/ /_/\__, / .___/_/_/|_|\___/_/  /___/\____/
                        /____/_/

HypixelIO

A Modern, Efficient and Easy way of interacting with the Hypixel API!

Made with Python

PYPI - License PYPI Download per Month PYPI PYPI Python Version Maintenance

Code Size Discord

Docs · Report a bug · Discussions · Discord

Why choose HypixelIO?

  • Modern way of handling requests
  • Modern OOP based structure
  • Both Async and blocking support
  • Simple ratelimit handling and caching
  • Elegant design with complete optimization
  • Easy to use with a modern and simple design
  • Complete API coverage

🚀 Installing

Python 3.7 or above is required!

# Windows
py -3 -m pip install -U HypixelIO

# Linux or MacOS
python3 -m pip install -U HypixelIO

# Install the nightly build
python3 -m pip install -U git+https://github.com/janaSunrise/HypixelIO

You can also get extra features with this library. Here's how:

# Use [speedups] to speed up only for async API
python3 -m pip install -U "HypixelIO[speedups]"

Usage

from hypixelio import Client, Converters

client = Client(api_key="your-api-key")

boosters = client.get_boosters()  # Get the boosters object

friends = client.get_friends(uuid="user's-uuid")  # Returns the Friends object
# Or, if you don't know the UUID
friends = client.get_friends(name="user's-username")

print(boosters[0].id)
print(friends.friends[0].receiver_id)

Async API usage

import asyncio

from hypixelio import AsyncClient, AsyncConverters

client = AsyncClient(api_key="your-api-key")

# Async function to fetch info
async def fetch_from_hypixel():
    boosters = await client.get_boosters()  # Get the boosters object

    friends = await client.get_friends(uuid="user's-uuid")  # Returns the Friends object
    # Or, if you don't know the UUID
    friends = await client.get_friends(name="user's-username")

    # Safely close the connection
    await client.close()

    return boosters, friends

# Run the coroutine using `asyncio`
boosters, friends = asyncio.run(fetch_from_hypixel())

print(boosters[0].id)
print(friends.friends[0].receiver_id)

Find more examples here!

📢 Changelog

If you're interested in seeing the Changelog, Go here!

🤝 Contributing

Contributions, issues and feature requests are welcome. After cloning & setting up project locally, you can just submit a PR to this repo and it will be deployed once it's accepted.

⚠️ It’s good to have descriptive commit messages, or PR titles so that other contributors can understand about your commit or the PR Created. Read conventional commits before making the commit message. You can find our contributing guidelines here

We have a branch called dev containing development code. If you're contributing, Remember to contribute to dev branch, instead of main.

💬 Get in touch

If you have various suggestions, questions or want to discuss things with our community, Have a look at Github discussions or join our Discord server!

Discord

👋 Show your support

Be sure to drop a 🌟 if you like the project!

Links

Made by Sunrit Jana with
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].