Skip to content

Commit

Permalink
change Analaytics resource to separate instragam subscriber and twitt…
Browse files Browse the repository at this point in the history
…er follower
  • Loading branch information
benoitguigal committed Aug 30, 2016
1 parent 3590e3f commit 5729794
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions lib/resources/Analytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,13 @@ module.exports = FigureResource.extend({
path: '/poster_count'
}),

social: figureMethod({
instagramSubscriberCount: figureMethod({
method: 'GET',
path: '/social'
path: '/instagram_subscriber_count'
}),

twitterFollowerCount: figureMethod({
method: 'GET',
path: '/twitter_follower_count'
})
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "figure-sdk",
"version": "0.1.10",
"version": "0.1.11",
"description": "The Figure JavaScript SDK",
"main": "lib/figure.js",
"homepage": "https://github.com/postcard/figure-sdk-node",
Expand Down

0 comments on commit 5729794

Please sign in to comment.