Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wasi0013/gqtr

fetches quotes from https://goodreads.com/ according to tags & post random quotes on twitter
https://github.com/wasi0013/gqtr

bs4 goodreads lxml python requests tweepy twitter

Last synced: 3 days ago
JSON representation

fetches quotes from https://goodreads.com/ according to tags & post random quotes on twitter

Awesome Lists containing this project

README

        

# GQtr
parses https://goodreads.com/ to get quotes using tags

## Installation:

* install [Python 3](https://www.python.org/downloads/)
* install [pip](https://pypi.python.org/pypi/pip)
* clone this repository
## Dependencies:

* [bs4](https://www.crummy.com/software/BeautifulSoup/bs4/doc/)
* [requests](https://docs.python-requests.org/en/master/)
* [lxml](http://lxml.de/installation.html)
* [tweepy](https://www.tweepy.org)

install them using `pip install -r requirements.txt`

## Usage:

* get a random quote: `python gqtr.py `

* getting a certain number of quotes(if available): `python gqtr.py `

* for getting all quotes for the specified tag: `python gqtr.py all`

* for posting random tweets using twitter account use `gqtweet.py`