Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

instagrapi

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

instagrapi - npm Package Compare versions

Comparing version 4.0.8 to 4.1.0

6

package.json
{
"name": "instagrapi",
"version": "4.0.8",
"version": "4.1.0",
"description": "Library to obtain information from an Instagram account in a friendly and intuitive way",

@@ -51,3 +51,2 @@ "keywords": [

"@types/jest": "^26.0.17",
"browserify": "^17.0.0",
"dotenv": "^10.0.0",

@@ -63,4 +62,3 @@ "gh-pages": "^3.1.0",

"tsconfig-paths-jest": "^0.0.1",
"typescript": "^4.5.4",
"uglify-js": "^3.12.1"
"typescript": "^4.5.4"
},

@@ -67,0 +65,0 @@ "homepage": "https://github.com/EdixonAlberto/instagrapi#readme",

# Instagrapi
[![](https://img.shields.io/github/license/edixonalberto/instagrapi?style=flat-square)](./LICENSE)
[![](https://data.jsdelivr.com/v1/package/npm/instagrapi/badge)](https://www.jsdelivr.com/package/npm/instagrapi?path=dist%2Fbundle)
[![](https://img.shields.io/npm/v/instagrapi?color=CB0000&style=flat-square)](https://npmjs.com/package/@edixon/instagrapi)
[![](https://img.shields.io/npm/dt/instagrapi?color=CB0000&style=flat-square)](https://npmjs.com/package/@edixon/instagrapi)
[![](https://img.shields.io/badge/author-Edixon_Piña-F0DB4E?style=for-the-badge)](https://github.com/EdixonAlberto/)
[![](https://img.shields.io/github/license/edixonalberto/instagrapi?style=for-the-badge)](LICENSE)
[![](https://img.shields.io/npm/v/instagrapi?color=CB0000&style=for-the-badge)](https://npmjs.com/package/@edixon/instagrapi)
[![](https://img.shields.io/npm/dt/instagrapi?color=CB0000&style=for-the-badge)](https://npmjs.com/package/@edixon/instagrapi)
[![](https://img.shields.io/badge/types-TypeScript-blue?style=flat-square)](https://github.com/microsoft/TypeScript)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![](https://img.shields.io/badge/types-TypeScript-blue?style=for-the-badge)](https://github.com/microsoft/TypeScript)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=for-the-badge)](https://github.com/prettier/prettier)

@@ -20,24 +20,18 @@ Library to obtain information from an Instagram account in a friendly and intuitive way.

### 🌐 [Demo website](https://edixonalberto.github.io/instagrapi) ➜
> 📃 **NOTE:** This library can only be used on the server with Nodejs.
> 📃 **NOTE:** Login to Instagram required to obtain an ID.
### 🌐 [Demo Web Site](https://edixonalberto.github.io/instagrapi) ➜
### 🔌 [Example in Nodejs](https://github.com/EdixonAlberto/service-instagrapi) ➜
## Installation
- NPM
```sh
npm install instagrapi
# or
yarn add instagrapi
```
- CDN
```html
<!-- Bundle minify and optimized to production -->
<script src="https://cdn.jsdelivr.net/npm/instagrapi@3/dist/bundle/instagrapi.min.js"></script>
```
- DOWNLOAD
Download the bundle from [jsdelivr](https://www.jsdelivr.com/package/npm/instagrapi?path=dist%2Fbundle) selecting the
`instagrapi.min.js` file and then right click "save as".
## Usage

@@ -97,6 +91,6 @@

- `getProfile(<USERNAME>)`
- `getProfile(USERNAME)`
Get all the profile information of an instagram account. Receives as argument: `<USERNAME>`, the username of the
instagram account.
Get all the profile information of an instagram account. Receives as argument: `USERNAME`, the username of the instagram
account.

@@ -124,6 +118,5 @@ Type of output in typescript:

- `getLastPosts(<USERNAME>)`
- `getLastPosts(USERNAME)`
Get the last 12 posts of an instagram account. Receives as argument: `<USERNAME>`, the username of the instagram
account.
Get the last 12 posts of an instagram account. Receives as argument: `USERNAME`, the username of the instagram account.

@@ -146,5 +139,5 @@ Type of output in typescript:

- `getPost(<POST_URL>):`
- `getPost(POST_URL):`
Get all the details of a post of an instagram account. Receives as argument `<POST_URL>`, the url of the post on
Get all the details of a post of an instagram account. Receives as argument `POST_URL`, the url of the post on
instagram.

@@ -151,0 +144,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc