1.1.0 • Published 4 years ago

ig-genie v1.1.0

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

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 PropertyDefinedType
usernameusername of the searched userstring
biouser's bio (if displayed)string
linkInBiothe user's specified link from their bio (if displayed)string
followersnumber of followers user hasint
followingnumber of people user followsint
isVerifiedif user is a verified user or notboolean
isBusinessAccountif user's account is a business account or notboolean
BusinessCategoryNameif the account is a business account, it will show a categorystring
linkToProfilelink to user's profilestring
fullNamefull name of user if it is providedstring

User Post Information

Object PropertyDefinedType
isVideotrue if post is a videoboolean
idunique id of poststring
amountOfVisibleCommentsnumber of comments prior to dynamic loadint
captioncaption of poststring
linkToPostlink to the poststring
commentsDisabledtrue if comments have been disabledboolean
timePosteddate when the post was postedstring
likesamount of likes the post hasint
locationlocation of post (if displayed)string
dimensionssize of the post in pixelsobject
videoViewsif post is a video then this shows how many views it hasinteger
1.1.0

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.2

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago