Client for Pushbullet API

Piotr Czajkowski 00c7d19f65 Small correction 3 yıl önce
.github 2a888ac6a9 Create codeql-analysis.yml 4 yıl önce
LICENSE.md b4317f5d84 Starting 4 yıl önce
README.md 297d5d94b6 Added usage examples 4 yıl önce
bullet.go 00c7d19f65 Small correction 3 yıl önce
error.go 195375e3e4 No need for export 4 yıl önce
fileUpload.go 396a5812ee Maybe a bit better 4 yıl önce
push.go 396a5812ee Maybe a bit better 4 yıl önce
pushInterface.go 396a5812ee Maybe a bit better 4 yıl önce

README.md

bullet

Go Report Card

Initialize client

b := bullet.NewBullet("YOUR_TOKEN")

Send note

err := b.SendNote("testTitle", "testText")
if err != nil {
    log.Fatal(err)
}

Send link

err := b.SendLink("testTitle", "testText", "https://abc.com")
if err != nil {
    log.Fatal(err)
}

Send file

err := b.SendFile("testFile", "Something", "./test.txt")
if err != nil {
    log.Fatal(err)
}