/alldebrid

Simple AllDebrid API client

Primary LanguageGoMIT LicenseMIT

alldebrid

Simple AllDebrid API client

Example of use

package main

import (
    "log"

    "github.com/chneau/alldebrid"
)

func main() {
    client := alldebrid.New()
    _ = client
    logs, err := client.Connect("username", "password")
    if err != nil {
        panic(err)
    }
    log.Println(logs)
    link, err := client.GetDownloadLink("https://mega-downloader.example/superweirdlink.mp4")
    if err != nil {
        panic(err)
    }
    log.Println(link)
}