rfermontero / socialblade-com-api

Unofficial APIs for socialblade.com website.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Socialblade.com Scraping for Instagram data (Forked from https://github.com/DavideViolante/socialblade-com-api)

Used instagram API and added user-agent to bypass 403 error.

Install

npm i socialblade-instagram-com-api

Example

const { socialblade } = require('socialblade-instagram-com-api')

async function main () {
  const response = await socialblade('cristiano')
  /**
   * response = 
   * [
   *   {
   *     date: '2020/05/26',
   *     followersDelta: 5657,
   *     followers: 117937431,
   *     followingDelta: -7,
   *     following: 605960,
   *     postsDelta: 0,
   *     posts: 15811
   *   },
   *   ...
   * ]
   */
}

Run tests

  • npm test

Run lint

  • npm run lint

Author

Original author

About

Unofficial APIs for socialblade.com website.

License:MIT License


Languages

Language:JavaScript 100.0%