{"id":1921161,"date":"2014-02-18T13:53:34","date_gmt":"2014-02-18T08:23:34","guid":{"rendered":"http:\/\/stockviz.biz\/index.php\/?p=1921161"},"modified":"2014-02-18T18:08:28","modified_gmt":"2014-02-18T12:38:28","slug":"api-samples-github","status":"publish","type":"post","link":"https:\/\/stockviz.biz\/index.php\/2014\/02\/18\/api-samples-github\/","title":{"rendered":"API Samples on GitHub"},"content":{"rendered":"<p>We will be posting sample code on how to use the StockViz API on our <a href=\"https:\/\/github.com\/shyams80\/StockViz\" target=\"_blank\">repository at GitHub<\/a>. All samples use Python and the readme walks you through how you need to be setup on windows to use the samples.<\/p>\n<h3>Basic News Reader<\/h3>\n<p>As a first cut, we put together a very basic news reader that uses the StockViz API to download company and topic specific news items. It prints out the title and the source url for now. You can jump directly to the python code <a title=\"a simple news reader using the StockViz API\" href=\"https:\/\/github.com\/shyams80\/StockViz\/blob\/master\/news\/01-simple\/news.py\" target=\"_blank\">here<\/a>.<\/p>\n<p><strong>Next:<\/strong> <a href=\"http:\/\/stockviz.biz\/index.php\/?p=1921641\" target=\"_blank\">Your Own News Reading and Sentiment Analysis App<\/a><\/p>\n<h6>Related<\/h6>\n<ul>\n<li><a href=\"http:\/\/stockviz.biz\/index.php\/2014\/02\/17\/stockviz-api\/\" target=\"_blank\">The StockViz API<\/a><\/li>\n<li><a href=\"http:\/\/stockviz.biz\/index.php\/2014\/02\/17\/linking-mashape-stockviz-accounts\/\" target=\"_blank\">Linking Your Mashape and StockViz Accounts<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>We will be posting sample code on how to use the StockViz API on our repository at GitHub. All samples use Python and the readme walks you through how you need to be setup on windows to use the samples. Basic News Reader As a first cut, we put together a very basic news reader &hellip; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3131,9],"tags":[3151],"class_list":["post-1921161","post","type-post","status-publish","format-standard","hentry","category-api","category-your-money","tag-api-news","entry"],"_links":{"self":[{"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/posts\/1921161","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/comments?post=1921161"}],"version-history":[{"count":0,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/posts\/1921161\/revisions"}],"wp:attachment":[{"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/media?parent=1921161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/categories?post=1921161"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/tags?post=1921161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}