Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pythonRestfulNews

Python module to enable python users to use our api

Installation

Our module can be installed via pip:

pip install pythonRestfullNews

Usage

import pythonRestfulNews as prn

#create a user:
resp = prn.create_user('email@gmail.com', 'password')

#get the token:
token = resp['token']

#make the request:
topics = 'food'
companyids = 'woolworths'
start_date = '2018-03-01T00:00:00.000Z'
end_date = '2018-03-25T00:00:00.000Z'
        
news = prn.search_news(token, topics, companyids, start_date, end_date)

About

Module to enable python users to use our api

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages