1.0.1 • Published 8 months ago

instagram-notes v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago

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);
})();
1.0.1

8 months ago

1.0.0

8 months ago