This is a Go wrapper for Alldebrid v4 APIs
go get -u github.com/shitpostingio/alldebrid
To get started import the library in your program and initialize a client
import "github.com/shitpostingio/alldebrid"
func main() {
client, _ := alldebrid.New("friji3r124rnwer", "MyAppName")
m := []string{"magnet:?xt=urn:btih:f95c371d5609d15f6615139be84edbb5b94a79bc"}
resp, err := client.UploadMagnet(m)
if err != nil {
log.Fatal(err)
}
fmt.Println(resp)
}