Skip to content

dedomil/instagram-notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

instagram-notes

installation

npm i instagram-notes

importing the package

const Note = require("instagram-notes");
import Note from "instagram-notes";

creating a sessionId

const sessionId = await Note.getSessionId("username", "password");

creating a client/instance

const client = new Note(sessionId);

get all notes

await client.getNotes();

create a note

await client.createNote("hello");

delete a note

await client.deleteNote("<note-id>"); // id of *your* note from client.getNotes()

update last seen time

await client.lastSeenUpdateNote();