Skip to content

An unofficial Go client package for Google Keep API.

License

Notifications You must be signed in to change notification settings

kjedeligmann/gkeepapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inspired by gkeepapi Python library.

This is a stub of the (mobile) Google Keep API client package, so it has limited functionality and is under construction. For now, you can use it to view all of your Google Keep notes as follows:

package main

import (
	"fmt"
	"log"

	"github.com/kjedeligmann/gkeepapi"
)

var email, masterToken, gaid string // your credentials

func main() {
	var keep gkeepapi.Keep
	keep.Authenticate(email, gaid, masterToken)
	notes, err := keep.List()
	if err != nil {
		log.Fatal(err)
	}
	for _, note := range notes {
		fmt.Printf("%s\n%s\n\n", note.Title, note.Text)
	}
}

You can get masterToken using gpsoauth package.

About

An unofficial Go client package for Google Keep API.

Resources

License

Stars

Watchers

Forks

Languages