Skip to content

IDerr/dealabs-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEALABS API

Installation

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

Use the API

Examples are available here

First, import the Dealabs object

from dealabs import Dealabs
dealabs = Dealabs()

Get hot deals

#?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)