https://github.com/chneau/alldebrid
Simple AllDebrid API client
https://github.com/chneau/alldebrid
alldebrid golang
Last synced: 7 months ago
JSON representation
Simple AllDebrid API client
- Host: GitHub
- URL: https://github.com/chneau/alldebrid
- Owner: chneau
- License: mit
- Created: 2019-02-13T21:34:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-12T19:14:10.000Z (almost 7 years ago)
- Last Synced: 2025-02-10T20:19:17.384Z (over 1 year ago)
- Topics: alldebrid, golang
- Language: Go
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# alldebrid
Simple AllDebrid API client
## Example of use
```go
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)
}
```