1.1.4 • Published 4 years ago

kabu v1.1.4

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

kabu.js

npm version Build Status

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

<script src="https://7110.github.io/kabu/dist/kabu.js"></script>

using npm or yarn

# using npm
npm install kabu --save

# using yarn
yarn add kabu

Using kabu.js

instantiation

var kabu = new Kabu();

some of methods

search

search method is able to search by company name

kabu.search("ソフトバンク");
[
  {
    code: 9434,
    name: "ソフトバンク",
    market: "市場第一部(内国株)",
    industry17: "情報通信・サービスその他 ",
    industry33: "情報・通信業"
  },
  {
    code: 9984,
    name: "ソフトバンクグループ",
    market: "市場第一部(内国株)",
    industry17: "情報通信・サービスその他 ",
    industry33: "情報・通信業"
  }
]

get

get method is able to get data by stock code

kabu.get(4689);
{
  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

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

6 years ago