From 2e10285f68659ede64dc9aedf59d712c71a896c0 Mon Sep 17 00:00:00 2001 From: snipe <72265661+notsniped@users.noreply.github.com> Date: Sun, 7 Apr 2024 09:57:46 +0530 Subject: [PATCH 1/2] Move title docstring from `__init__.py` to `api.py` --- api.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/api.py b/api.py index 246f043..c3f97f7 100644 --- a/api.py +++ b/api.py @@ -1,10 +1,15 @@ -"""Used for accessing the Skyblock API.""" +""" +### A simple API wrapper for Hypixel Skyblock. + +(c) 2023-present NKA Development Organization +""" # Imports import requests from json import loads as parse # Functions class Skyblock: + """Used for accessing the Skyblock API.""" def __init__(self, api_key: str): self.api_key = api_key From 590d043272f51cd87594d2b13b041b29f295c775 Mon Sep 17 00:00:00 2001 From: snipe <72265661+notsniped@users.noreply.github.com> Date: Sun, 7 Apr 2024 09:59:55 +0530 Subject: [PATCH 2/2] Switch from using `__init__.py` module to direct `skyblockpy` module --- __init__.py | 7 ------- api.py => skyblockpy.py | 0 2 files changed, 7 deletions(-) delete mode 100644 __init__.py rename api.py => skyblockpy.py (100%) diff --git a/__init__.py b/__init__.py deleted file mode 100644 index eb11f0c..0000000 --- a/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -""" -### A simple API wrapper for Hypixel Skyblock. - -(c) 2023-present NKA Development Organization -""" - -from .api import * diff --git a/api.py b/skyblockpy.py similarity index 100% rename from api.py rename to skyblockpy.py