1.0.1 • Published 8 years ago
alphavantage-api v1.0.1
alphavantage-api-node
A node.js wrapper for the Alphavantage API.
Install
npm i alphavantage-apiMethods
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));1.0.1
8 years ago