Skip to content

bruce-shi/massive-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Massive(Massive) API CLI

A CLI tool for accessing Massive(Massive) financial data (Stocks, Crypto, Forex, Options, Indices) using Bun.

Usage

Via NPX (Recommended)

Run commands directly without installing:

npx -y massive-cli <command> [options]

Local Installation

  1. Install Dependencies:

    bun install
  2. Configure API Key:

    export MASSIVE_API_KEY=your_api_key_here

    or create a .env file in the root directory:

    MASSIVE_API_KEY=your_api_key_here
    
  3. Build:

    bun run build

    This generates the bundled CLI in dist/cli.js. Run commands using the built CLI:

bun dist/cli.js <command> [options]

Examples

Stocks:

npx -y massive-cli stocks-aggs --ticker AAPL --from 2023-01-01 --to 2023-01-31

Crypto:

npx -y massive-cli crypto-snapshot --ticker X:BTCUSD

Market Status:

npx -y massive-cli market-status

Use --help to see all available commands:

npx -y massive-cli --help

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors