This package has been deprecated

Author message:

Package no longer supported. Contact support@npmjs.com for more info.

alphavantage-api

1.0.1 • Public • Published

Build Status

alphavantage-api-node

A node.js wrapper for the Alphavantage API.

Install

npm i alphavantage-api

Methods

Create a new instance (you will need an Alphavantage token):

const AvAPI = require('alphavantage-api');
const token = require('./token');

const API = new AvAPI(token);

timeseries(symbol, [range, outputSize, interval])

API
  .timeseries('AAPL')
  .then(res => console.log(res));

indicators(symbol, [indicator, interval, timePeriod, seriesType])

API
  .indicators('AAPL')
  .then(res => console.log(res));

sectors()

API
  .sectors()
  .then(res => console.log(res));

/alphavantage-api/

    Package Sidebar

    Install

    npm i alphavantage-api

    Weekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • npm