JSPM

@xncn/instagramdownloaderpro

0.0.7
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 16
  • Score
    100M100P100Q66476F
  • License ISC

This project provide an instagram api wrapper.You can use in your web services and mobile applications.Instagram downloader library is using picuki.com and igdownloader.app

Package Exports

  • @xncn/instagramdownloaderpro
  • @xncn/instagramdownloaderpro/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@xncn/instagramdownloaderpro) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Instagram Downloader Pro

This project provide an instagram api wrapper.You can use in your web services and mobile applications.Instagram downloader library is using picuki.com and savevid.net.

Features

  • Photo Download
  • Gallery Download
  • Video Download
  • Profile View
  • Profile Post Pagination
  • Profile Stories[Piciku Disabled]
  • Post/Video comments
  • Profile Info

Services

  • Download Service
  • Post Service
  • User Service

Install

You can install on npm

  npm install @xncn/instagramdownloaderpro

Usage

import {InstagramService} from "@xncn/instagramdownloaderpro";

async function Run() {
  const instagram = new InstagramService();
  await instagram.getUserData("USERNAME");
  //now you can use instagram.SERVICENAME.METHODNAME
}

Run();

*dont forget to call getUserData() for all services without download service.

Download Service

You can get downloadable links with download service

   const download = await instagram.downloadService.Download(
    "https://www.instagram.com/**"
  );
  console.log(download);

Example Response[DownloadResponse[]]

 [
   {
    thumb?: string;
    url?: string;
   }
 ]

User Service

You can get user information with user service.

const userData = instagram.userService.getProfileInfo();
console.log(userData);

Example Response[ProfileInfoResponse]

  {
    id?: string;
    userName?: string;
    name?: string;
    profilePicture?: string;
  }

Post Service

You can get user posts with pagination

  //First Page
   const posts = await instagram.postService.getPostsByCursor();
   console.log(posts);
   //Other Pages
   //const posts = await instagram.postService.getPostsByCursor(profileEndCursor: string, mobileEndCursor: string, id: string);

Example Response[PostPageResponse]

  {
    profileEndCursor: string;
    mobileEndCursor: string;
    id: string;
    data:[
      id?: string;
      isVideo?: boolean;
      image?: string;
      description?: string;
      likeCount?: string;
      commentCount?: string;
      createdAt?: string;
    ]
  }

Comment Service

You can get comments with comment service

  const comments = await instagram.postService.getPostComments("ID");
  console.log(comments);

Example Response[CommentResponse[]]

 [
   {
    username?: string;
    comment?: string;
   }
 ]