1.0.12 • Published 5 years ago

simple-instagram-scraper v1.0.12

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

Simple Instagram Scraper

NPM Codacy Badge FOSSA Status

This is a simple Instagram scraper. It returns the followers, following, and posts for a certain user.

Usage

To use the scraper create an async function (or implement promises). The function will have to wait for a response from the request to actually print something out.

Importing can be done by creating a variable and requiring the package.

const instagramScraper = require('simple-instagram-scraper');

There is only one function in this package currently and it is featured below.

const instagramScraper = require('simple-instagram-scraper');
let report = await instagramScraper.getReport('dd0nn'); 

Report will now contain an output of the results for instagram user dd0nn.

Example

Below is an example of a function testReport()

const testReport = async() => {
	let report = await instagramScraper.getReport('logic');
	console.log(report)
}

As you can see, one can call the getReport() on the imported package and recieve a full report of the user.

Output

The output contains a username, follower count, following count, post count, and timestamp based on Unix Time.

{ username: 'logic',
  followers: '5.3m',
  following: '346',
  posts: '1932',
  dateRequested: 1529167209700 }

License

FOSSA Status

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago