kabu.js
kabu.js is a JavaScript library about listed stocks.
Feature
kabu.js is a stock informations library. It has dictionary data on all stocks in Japan!
Getting Started
read script file from HTML
npm
or yarn
using # using npm npm install kabu --save # using yarn yarn add kabu
Using kabu.js
instantiation
var kabu = ;
some of methods
search
search
method is able to search by company name
kabu;
[ { code: 9434, name: "ソフトバンク", market: "市場第一部(内国株)", industry17: "情報通信・サービスその他 ", industry33: "情報・通信業" }, { code: 9984, name: "ソフトバンクグループ", market: "市場第一部(内国株)", industry17: "情報通信・サービスその他 ", industry33: "情報・通信業" }]
get
get
method is able to get data by stock code
kabu;
{ code: 4689, name: "Zホールディングス", market: "市場第一部(内国株)", industry17: "情報通信・サービスその他 ", industry33: "情報・通信業"}
help
help
method is going to print version, updated and so on on console
Data
kabu.js's data is made on https://github.com/7110/kabu-data