⚫
A simple API to scrap details of any Instagram user
Install
$ npm install --save basic-instagram-user-details
Usage
User ID
const bud = require('basic-instagram-user-details');
const user = 'iama_rishi';
bud(user, 'id').then(id => {
console.log(id);
});
OR
bud(user, 'id').then(res => {
const userId = res.data;
console.log(userId);
});
Example
Full Name
bud(user, 'fullname').then(fullname => {
console.log(fullname);
});
API
bud('username', 'options')
username
:
string
options
:
string
Options | Output |
---|
id | string |
fullname | string |
username | string |
bio | string |
externalUrl | string |
linkshimmed | string |
posts | string |
followers | string |
following | string |
private | boolean |
verified | boolean |
connected | object |
Why?
Why? Because Instagram is fucking up with everything.
Related
License
MIT © Rishi Giri;