https://github.com/iderr/dealabs-api
Dealabs API
https://github.com/iderr/dealabs-api
api dealabs deals
Last synced: 11 months ago
JSON representation
Dealabs API
- Host: GitHub
- URL: https://github.com/iderr/dealabs-api
- Owner: IDerr
- Created: 2017-08-27T10:05:12.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2025-06-14T23:47:48.000Z (about 1 year ago)
- Last Synced: 2025-06-15T00:29:23.336Z (about 1 year ago)
- Topics: api, dealabs, deals
- Language: Python
- Size: 9.77 KB
- Stars: 17
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DEALABS API
## Installation
Using pip
``` {.sourceCode .bash}
$ pip install git+https://github.com/IDerr/dealabs-api.git
```
Using source code
``` {.sourceCode .bash}
$ git clone https://github.com/IDerr/dealabs-api.git
$ cd dealabs-api
$ sudo python setup.py install
```
And voila
## Use the API
Examples are available [here](https://github.com/IDerr/dealabs-api/tree/master/example)
First, import the Dealabs object
```python
from dealabs import Dealabs
dealabs = Dealabs()
```
### Get hot deals
```python
#?days=1&page=0&limit=25
params = {
"days": "1", # can be 1, 7 or 30 days
"page": "1", # page number
"limit":"25" # article per page
}
dealabs.get_deals_hot(params=params)
```