项目作者: CodeDotJS

项目描述 :
:sparkles: A simple API to scrap basic details of an Instagram user
高级语言: JavaScript
项目地址: git://github.com/CodeDotJS/basic-instagram-user-details.git
创建时间: 2018-05-04T07:16:20Z
项目社区:https://github.com/CodeDotJS/basic-instagram-user-details

开源协议:MIT License

下载















A simple API to scrap details of any Instagram user

Install

  1. $ npm install --save basic-instagram-user-details

Usage

User ID

  1. const bud = require('basic-instagram-user-details');
  2. const user = 'iama_rishi';
  3. bud(user, 'id').then(id => {
  4. console.log(id);
  5. // => { data: '259220806' }
  6. });

OR

  1. bud(user, 'id').then(res => {
  2. const userId = res.data;
  3. console.log(userId);
  4. // => 259220806
  5. });

Example

Full Name

  1. bud(user, 'fullname').then(fullname => {
  2. console.log(fullname);
  3. // => { data: 'Rishi Giri' }
  4. });

API

  1. 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.

License

MIT © Rishi Giri;