Introduction to CoinTools
CoinTools is a handy gadget to Chrome browser that you can launch easily to view the information of cryptocurrency. You can install CoinTools at Google Webstore.
Previous Versions
- v0.0.11: CoinTool Update: Arbitrary Historical Date Period + Amount Conversion to Local Currency + Preserve Historical Graphs
- v0.0.9: CoinTools Update: v0.0.9, Specify Amount + Reverse Cryptocurrency Calculation
- v0.0.8: CoinTools Update: v0.0.8: Add Coinbase API + Customized History Data
- v0.0.7: CoinTools: Historical Conversion between Any Two Cryptocurrency
- v0.0.6: CoinTools Update: Show Full Cryptocurrency Details by Click or Startup, Add Language Handlers
- CoinTools v0.0.5 Update: Show Full Cryptocurrency Details by Click or Startup, Add Language Handlers
- CoinTools v0.0.4: Conversion Between Two Fiat or Fiat-Coin + 24 Hour Cap Chart
- CoinTools v0.0.3: Adding Total Market Cap USD Chart, Localization and Stock Price Emoji
- v0.0.2 Cryptocurrency Conversion + UI Localization
- v0.0.1 Introduction to CoinTools! A Cryptocurrency Chrome Extension
Technology Stacks
Javascript that runs in Chrome Extension.
Github of CoinTools
https://github.com/DoctorLai/CoinTools
Chrome Webstore
It is available online at Chrome Webstore.
Commits
CoinTools v0.0.12 Feature
- Adding News Feed
- Adding Average Line Series (and remove incorrect legend)
- UI Translations
- Auto Load Last History Graph
Roadmap of CoinTools
Any good suggestions, please shout at @justyy.
Screenshots of CoinTool
News Feed:
Average = (High + Low) / 2
News Feed API and Javascript
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | // get news and articles const getFeed = (dom) => { let api = "https://min-api.cryptocompare.com/data/news/?lang=EN"; logit(get_text("calling", "calling") + " " + api); $.ajax({ type: "GET", url: api, success: function(result) { let s = '<ol>'; let len = result.length; for (let i = 0; i < len; ++ i) { s += "<li>"; s += ": <a target=_blank href='" + result[i]['url'] + "'>"; s += result[i]['title']; s += "<BR/><img style='height:100px' src='" + result[i]['imageurl']; s += "' /></a>"; s += "<i>" + timestampToString(result[i]['published_on']) + "</i>"; s += "<blockquote>"; s += result[i]['body']; s += "</blockquote>"; s += "</li>"; } s += "</ol>"; dom.html(s); }, error: function(request, status, error) { logit(get_text('response', 'Response') + ': ' + request.responseText); logit(get_text('error', 'Error') + ': ' + error ); logit(get_text('status', 'Status') + ': ' + status); }, complete: function(data) { logit(get_text("api_finished", "API Finished") + ": " + api); } }); } |
// get news and articles const getFeed = (dom) => { let api = "https://min-api.cryptocompare.com/data/news/?lang=EN"; logit(get_text("calling", "calling") + " " + api); $.ajax({ type: "GET", url: api, success: function(result) { let s = '<ol>'; let len = result.length; for (let i = 0; i < len; ++ i) { s += "<li>"; s += ": <a target=_blank href='" + result[i]['url'] + "'>"; s += result[i]['title']; s += "<BR/><img style='height:100px' src='" + result[i]['imageurl']; s += "' /></a>"; s += "<i>" + timestampToString(result[i]['published_on']) + "</i>"; s += "<blockquote>"; s += result[i]['body']; s += "</blockquote>"; s += "</li>"; } s += "</ol>"; dom.html(s); }, error: function(request, status, error) { logit(get_text('response', 'Response') + ': ' + request.responseText); logit(get_text('error', 'Error') + ': ' + error ); logit(get_text('status', 'Status') + ': ' + status); }, complete: function(data) { logit(get_text("api_finished", "API Finished") + ": " + api); } }); }
Roadmap of Cryptocurrency CoinTools
Any good suggestions, please shout at @justyy.
License
Contribution Welcome
Github: https://github.com/DoctorLai/SteemTools/
- Fork it!
- Create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am ‘Add some feature’
- Push to the branch: git push origin my-new-feature
- Submit a pull request.
Chrome Webstore
Install the CoinTools Now!
–EOF (The Ultimate Computing & Technology Blog) —
GD Star Rating
loading...
829 wordsloading...
Last Post: Turtle Programming v0.0.12: Powerful For Loop, INC, DEC, and on NPM!
Next Post: Turtle Programming v0.0.13: Support RGB, Add ShortCodes, Global Procedures Editor