1.0.1 • Published 7 years ago
alphavantage-api v1.0.1
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));
1.0.1
7 years ago