Metadata-Version: 2.1
Name: curse-app-api
Version: 0.0.4
Summary: Cuseforge App API
Home-page: https://github.com/CyberSteve777/CurseAppAPI
Author: CyberSteve777
License: UNKNOWN
Download-URL: https://github.com/CyberSteve777/CurseAppAPI/releases
Keywords: python,minecraft,curseforge
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Operating System :: Microsoft :: Windows
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# **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

1) Requires at least python 3.6

2) 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:
```python
# 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
```textmate
ChromiumDriver
MSEdgeDriver
```

# Contributing
Feel free to contribute. So: 

1) If you find bugs related to this project, open an issue in 
Github issues tracker. 
2) 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.

[there]: https://curseforgeapi.docs.apiary.io/
[this]: https://curseforgeapi.docs.apiary.io/

