Cuseforge App API
Project description
Curseforge App API
The package provides classes to interact Curseforge app API.
Note: I wrote neither API nor documentation (btw documentation with methods and results took from there).
Installation/Upgrade
-
Requires at least python 3.6
-
Install/Upgrade with $ pip install --user --upgrade curse-app-appi
Requirements
requests>=2.25.1
selenium>=3.141.0
selenium-requests>=1.3
webdriver-manager>=3.4.2
Usage:
# getting API class
from curse_app_api import CurseAPI, WDCurseAPI
# creating API class
api = CurseAPI()
# example method
print(api.get_category_timestamp())
# using API with webdriver
wdapi = WDCurseAPI()
# it will print the same result as previous print
print(wdapi.get_category_timestamp())
# also if something goes wrong, you can get last query link
print(api.last_query_link)
# and its response
print(api.last_response)
Current supported WebDrivers
ChromiumDriver
MSEdgeDriver
Contributing
Feel free to contribute. So:
- If you find bugs related to this project, open an issue in Github issues tracker.
- If you want add a new feature, fork this repo, make changes locally and open a pull request. I'll check changes myself and merge your code into main branch.
TODO
PyDocs for methods. As temp solution, you can use this link to see params and results.
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
curse_app_api-0.0.4.tar.gz
(19.2 kB
view hashes)