/socialblade-com-api

Unofficial APIs for socialblade.com website.

Primary LanguageJavaScriptMIT LicenseMIT

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