ig-genie
v1.1.0
Published
ig-genie allows you to search for a public instagram user and see their public information and their latest 12 posts all on the command line.
Downloads
8
Maintainers
Readme
IG-Genie
ig-genie allows you to search for a public instagram user and see their public information and their latest 12 posts all on the command line.
Installation
$ npm install ig-genie
Usage
Create a javascript file and simply require the ig-genie package.
const igGenie = require("ig-genie");
Once you have required the ig-genie package in your newly created js file. open the terminal and CD into the folder you are using ig-genie in.
$ cd testIgGenie
Once you are in the desired folder, type "node" followed by the name of the js file that you used to require "ig-genie" and then type the name of a Instagram user that has a public profile.
$ node test.js jenniferaniston
Retrieved Data
User Information
| Object Property | Defined | Type | | --------------- | ------- | ---- | | username | username of the searched user | string | | bio | user's bio (if displayed) | string | | linkInBio | the user's specified link from their bio (if displayed) | string | | followers | number of followers user has | int | | following | number of people user follows | int | | isVerified | if user is a verified user or not | boolean | | isBusinessAccount | if user's account is a business account or not | boolean | | BusinessCategoryName | if the account is a business account, it will show a category | string | | linkToProfile | link to user's profile | string | | fullName | full name of user if it is provided | string |
User Post Information
| Object Property | Defined | Type | | --------------- | ------- | ---- | | isVideo | true if post is a video | boolean| | id | unique id of post | string | | amountOfVisibleComments | number of comments prior to dynamic load| int | | caption | caption of post | string | | linkToPost | link to the post | string | | commentsDisabled | true if comments have been disabled| boolean | | timePosted | date when the post was posted | string | | likes | amount of likes the post has| int | | location | location of post (if displayed) | string | | dimensions | size of the post in pixels | object | | videoViews | if post is a video then this shows how many views it has | integer |