Skip to content

Commit e6d91fe

Browse files
Add in the downloads overview route
1 parent 577dfb8 commit e6d91fe

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ module.exports = function (obj) {
155155
},
156156
stats: {
157157
downloads: {
158+
overview: function (callback) {
159+
makeRequest(false, makeUrl('stats/downloads'), 'GET', callback);
160+
},
158161
all: function (callback) {
159162
makeRequest(false, makeUrl('stats/downloads/all'), 'GET', callback);
160163
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "atlauncher-api",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "Node.js module for interacting with the ATLauncher API",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)