Skip to content

realSpok/gkeepapi-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gkeepapi-node

A node-js port of the amazing python Keep unofficial client gkeepapi, for handling Google Keep notes.

state:

only a couple of functions are implemented, mostly reading and updating notes and list.

use:

To add to your project:

npm install 'gkeepapi-node'

Then you can retrieve and update notes like so:

import Keep from "gkeepapi-node";

// refer to https://github.com/kiwiz/gkeepapi and https://github.com/simon-weber/gpsoauth on how to get the master_token/encrypted_password for your account
const keep = new Keep(process.env.email, process.env.encrypted_password);

const list = (await keep.allLists()).find((list) => list.title === "Todos");
list.color = ColorValue.Blue;
list.title = "Todo today";
await list.save();

const firstThingTodo = list.items[0];
firstThingTodo.checked = true;
await firstThingTodo.save();

contribute:

I use bun as a typescript runtime for this project. Install bun, then

bun install
bun run index.ts

About

An unofficial node js client for Google Keep

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published