Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jobsamuel/node-instagram-analytics
NodeJS module for Instagram Analytics
https://github.com/jobsamuel/node-instagram-analytics
Last synced: 27 days ago
JSON representation
NodeJS module for Instagram Analytics
- Host: GitHub
- URL: https://github.com/jobsamuel/node-instagram-analytics
- Owner: jobsamuel
- License: mit
- Created: 2015-09-13T17:40:33.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-26T16:00:38.000Z (over 7 years ago)
- Last Synced: 2024-04-26T20:07:18.246Z (6 months ago)
- Language: JavaScript
- Size: 19.5 KB
- Stars: 12
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [DEPRECATED] node-instagram-analytics
[![npm version](https://img.shields.io/npm/v/node-instagram-analytics.svg?style=flat-square)](https://www.npmjs.com/package/node-instagram-analytics) [![npm](https://img.shields.io/npm/dt/node-instagram-analytics.svg?style=flat-square)](https://www.npmjs.com/package/node-instagram-analytics) [![Dependency Status](https://david-dm.org/heartyrobot/node-instagram-analytics/status.svg?style=flat-square)](https://www.npmjs.com/package/node-instagram-analytics)> NodeJS module for Instagram Analytics
## installation
```bash
$ npm install node-instagram-analytics
```## usage
Example.js:
```js
var Analytics = require('node-instagram-analytics')// use a valid instagram access token
var stats = new Analytics('')// analyze an instagram profile you have access to
stats.simple('username', function (err, result) {
if (err) {
// do something
}
console.log(result)
})
```The result will be something like this:
```json
{
"likes_per_media": 63.79468,
"comments_per_media": 22.5142697,
"total_likes": 2679,
"total_comments": 945,
"ratio": 5.68411203067,
"limits": 4853,
"calls": 3
}
```## todo
- [x] ~~Publish to npm.~~
- [x] ~~Explain module usage (improve README).~~
- [ ] Improve error handling.
- [ ] Simplify obtaining Instagram Access Token for testing.
- [ ] Add more features.
- [x] ~~Get detailed info about user profile.~~
- [x] ~~Calculate averages per media (likes, comments, etc).~~
- [ ] Process comments (get common words, average response time, etc).
- [ ] Process likes (most liked photo, top 3 photos, top fans, etc).## contribution
After checking [Github Issues](https://github.com/jobsamuel/node-instagram-analytics/issues) or having a chat with [@jobsamuel](https://telegram.me/jobsamuel) about the project, feel free to fork and create a Pull Request.
## license
[MIT](http://opensource.org/licenses/MIT) License :copyright: Jobsamuel Núñez and [other contributors](https://github.com/jobsamuel/node-instagram-analytics/graphs/contributors)