instagram-tools

0.1.3 • Public • Published

Instagram Tools it's a collection of functions to scrape Instagram via Imginn Example:

import {
	instagramUser
} from "instagram-tools";

(async () => {
	//create object with username
	let user = await new instagramUser("usename");
	//check if the account is private or not  
	console.log(await user.isAccountPrivate());
	//check if the account is exsist or not    
	console.log(await user.isUserExist());
	//search for post inside a profile
	//it searches for the text with the posts
	let searchResult = await user.searchPosts("searchTerm");
	console.log(searchResult);
	//get array of links of all the images or videos 
	let links = await user.downloadLinks();
	console.log(links);
	//close the user
	user.close();
})();

New features will be added to new versions

Package Sidebar

Install

npm i instagram-tools

Weekly Downloads

1

Version

0.1.3

License

MIT

Unpacked Size

7.87 kB

Total Files

10

Last publish

Collaborators

  • pritamdas