tj / Go Dropy
Licence: mit
Higher level Dropbox v2 API.
Stars: ✭ 57
Programming Languages
go
31211 projects - #10 most used programming language
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
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].