Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 1.26 KB

README.md

File metadata and controls

55 lines (39 loc) · 1.26 KB

Maxcoin-Python-Twitter-Bots

The GetMaxcoinPrice Script is used to grab the price of Maxcoin from CoinMarketCap and tweets to a selected Twitter Account via Api Keys

The GetMaxcoinBlockInfo Script is used to grab some api data of Maxcoin from http://api.maxcoinhub.io/docs/#/ and tweets to twitter

Setting up the Dependencies

sudo pip install twython

Setting up Coinmarketcap Python Module

sudo git clone https://github.com/mrsmn/coinmarketcap-api

Change Directory into coinmarketcap-api

cd coinmarketcap-api

Setting up the module

sudo python setup.py build
sudo python setup.py install

If you dont have pip installed then

sudo apt-get install python-pip
sudo pip install twython

Downloading the Python Scripts

sudo git clone https://github.com/Max-Coin/Maxcoin-Python-Twitter-Bots/
cd Maxcoin-Python-Twitter-Bots/

You will need to go into both python scripts and add your twitter api keys

Here is a link to a good blog on learning the basics of Twython and twitter bot development. https://www.silkstream.net/blog/2014/06/how-to-get-going-with-twython.html

Once you have added the api keys to the scripts

sudo python GetMaxcoinPriceBot.py

sudo python GetMaxcoinBlockInfo.py