Skip to content

VictorNine/sfgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SFGO

Client for StandardFile written in golang

Implemented the bare minimum to make it work. Do not use for production API might change at any time.

Working:

  • Sync with server
  • Decrypt item
  • Update item
  • Create new item

TODO:

  • Register a user
  • Update a user's password

Example

package main

import (
	sf "github.com/VictorNine/sfgo"
	"fmt"
)

func main() {
	sess := sf.NewSession(
		"https://sync.standardnotes.org",
		"## YOUR EMAIL ##",
	)

	err := sess.Signin("## YOUR PASSWORD ##")
	if err != nil {
		log.Fatal(err)
	}

	log.Println("Login successful!")

	items, _ := sess.Sync()

	fmt.Printf("%+v\n", items)
}

About

A client for StandardFile

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages