Using pip
$ pip install git+https://github.com/IDerr/dealabs-api.git
Using source code
$ git clone https://github.com/IDerr/dealabs-api.git
$ cd dealabs-api
$ sudo python setup.py install
And voila
Examples are available here
First, import the Dealabs object
from dealabs import Dealabs
dealabs = Dealabs()
#?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)