Metadata-Version: 2.1
Name: dredarkLeaderboardLib
Version: 1.0.0a9
Summary: A Library to fetch from the Deep Space Airships leaderboards.
Author: JaWarrior12
Project-URL: Homepage, https://github.com/JaWarrior12/dredarkLeaderboardLib
Project-URL: Issues, https://github.com/JaWarrior12/dredarkLeaderboardLib/issues
Project-URL: Discord, https://discord.gg/WGmCS7pJ48
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE

# dredarkLeaderboardLib
Dredark Leaderboard Library for Python!\n
The library contains functions to fetch data from the Deep Space Airships (drednot.io) leaderboard pages.

Currently in Pre-Release

Example:
```
import src.dredarkLeaderboardLib as dll

URL="https://drednot.io/leaderboard/?cat=boss_shield&by=pilot"
LIMIT=10
TOTALPAGES=10
statistics=dll.Leaderboard() #Initiates the Leaderboard Object
statistics.scan_Leaderboard(URL, TOTALPAGES, LIMIT) #Scrapes the provided URL and stores the data
print(statistics.shipData) #Prints the scrapped data
#Or
print(statistics.return_data()) #Alternative Method to print data
print(statistics.fetch_ship("rank",10)) #Prints the entry at rank 10
print(statistics.fetch_ranks(1,10,True,True)) #Fetches Ranks 1-10 (1 & 10 are Included)
print(statistics.fetch_ranks(1,10,True,False)) #Fetches Ranks 1-10 (10 is exclusive, so only ranks 1-9 are actually returned)
print(statistics.fetch_ranks(1,10,False,True)) #Fetches Ranks 1-10 (1 is exclusive, so only ranks 2-10 are actually returned)
print(statistics.fetch_ranks(1,10,False,False)) #Fetches Ranks 1-10 (1 & 10 are exclusive, so only ranks 2-9 are actually returned)```
