dedomil / instagram-notes

instagram notes api wrapper

Home Page:https://url.aditya.is-a.dev/instagram-notes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

instagram-notes

installation

npm i instagram-notes

importing the package

const Notes = require("instagram-notes");

creating a client/instance

const client = new Notes("<insert-cookie-here>");

get all notes

(async () => {
  let response = await client.getNotes();
  console.log(response);
})();

create a note

(async () => {
  let response = await client.createNote("hello");
  console.log(response);
})();

delete a note

(async () => {
  let response = await client.deleteNote('<note-id>');
  console.log(response);
})();

update last seen time

(async () => {
  let response = await client.lastSeenUpdateNote();
  console.log(response);
})();

About

instagram notes api wrapper

https://url.aditya.is-a.dev/instagram-notes


Languages

Language:JavaScript 100.0%