Skip to content

tj/go-dropy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoDoc Build Status

Dropy

High level Dropbox v2 client for Go built on top of go-dropbox.

Example

token := os.Getenv("DROPBOX_ACCESS_TOKEN")
client := dropy.New(dropbox.New(dropbox.NewConfig(token)))

client.Upload("/demo.txt", strings.NewReader("Hello World"))
io.Copy(os.Stdout, client.Open("/demo.txt"))

Testing

To manually run tests use the test account access token:

$ export DROPBOX_ACCESS_TOKEN=oENFkq_oIVAAAAAAAAAABqI2Nor2e9_ORA3oAZDQexMgJocCQX4aOFXZuDc1t-Sx
$ go test -v

License

MIT

About

Higher level Dropbox v2 API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages