Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 1.63 KB

README.md

File metadata and controls

47 lines (37 loc) · 1.63 KB

Instagram Account Info

Build Status codebeat badge GitHub open issues npm version MIT License

Promise based module for getting any Instagram account public info. For browser and node.js

Installation

yarn add instagram-account-info

npm install --save instagram-account-info

Usage

import getInfo from 'instagram-account-info';

/**
 * @param {String} Instagram Username
 */
getInfo('katalonne').then(info => {
  console.log(info)
}).catch(e => {
  console.error(e)
})

Resolved info Object

Key Type
followers Number
following Number
posts Number
isPrivate Boolean
isVerified Boolean
profileImage String

License

MIT © katalonne