



$result = "*CoinMarketRank* results for *TOP20:*\n".$result." More info in \n" $result = str_replace(","," | ",file_get_contents($url)) Here the source of the file getReport.php You can copy and download the files from Github: In the Request URL param we must set the link to the URL that will process the robot command /coinmarketrank to do the query to CoinMarketRank API and process the results to show finally in the Slack chat channel.įor this exercise you can use this Endpoint URL to start: īut to complete all the exercise you must copy two files in some HTTPS server that accepts PHP files. Set an App name and a Workplace to add the robot development like in the pictureĬlick on “ Slack Commands” (we will create a new one to obtain the results from CoinMarketRank) In this post we will create in an easy way a new Slack Bot to obtain results of the rankings from Crypto-coin markets.
