Skip to content

Frontware/vgy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vgy

vgy

Simple Post image file to vgy.me

Important

We are not affiliated to vgy.me

vgy API doc

VGY.ME API doc is here

MIT Licence

Frontware

Maintainability

Doc

Doc online is on godoc

Usage

import "github.com/Frontware/vgy"
import "fmt"

func main () {

    // Get your user key here: https://vgy.me/account/details#userkeys
    vgy.UserKey = "PUT YOUR VGY USER KEY HERE"
    // You must have the file "image.png" in current folder
    info, err := vgy.UploadImageFile("image.png")
    if err!=nil {
        fmt.Fatal("Upload failed ",err)
    }
    fmt.Println("Upload to "+info.URL)
}

Releases

No releases published

Packages

No packages published

Languages