dlkitgo

package module
v1.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2025 License: MIT Imports: 8 Imported by: 0

README

dlkitgo
Go library for downloading content across multiple platforms
Source Releases Documentation

dlkitgo is a Golang library that can download, search, info etc. from popular platforms and third-party. Completely free.

Go Doc Go Report Card License Stars Forks

Quick Start

package main

import (
    "fmt"

    "github.com/Beesonn/dlkitgo"
)

func main() {
    client := dlkitgo.NewClient()
    url := "https://open.spotify.com/track/0B6ZJaS3I891FP8Ewx43Oh"
    stream, err := client.Spotify.Stream(url)
    if err != nil {
        fmt.Printf("ERROR: Stream failed: %v", err)
        return
    }

    if len(stream.Source) == 0 {
        fmt.Println("ERROR: No stream sources available")
        return
    }
    
    fmt.Printf("Artists: %s\n", stream.Source[0].Artist)
    fmt.Printf("Title: %s\n", stream.Source[0].Title)
    fmt.Printf("Image: %s\n", stream.Source[0].Image)
    fmt.Printf("Stream URL: %s\n", stream.Source[0].URL)
}

Installation

go get github.com/Beesonn/dlkitgo

Examples

Check out our examples for different platforms:

Provider Request

If you would like to see an example for a platform that is not listed here, you can request it by opening an issue.

Make a new issue with the name of the provider on the title, as well as a link to the provider in the body paragraph.

Contributing

We welcome contributions! Feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b new)
  3. Commit your changes (git commit -m 'Add some new')
  4. Push to the branch (git push origin new)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

If you encounter any problems or have questions, please file an issue on the GitHub issue.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstaByName

func InstaByName()

func TestSpInfo

func TestSpInfo()

func YtTest

func YtTest()

Types

type Dlkit

type Dlkit struct {
	Client    *http.Client
	Spotify   *spotify.SpotifyService
	Instagram *instagram.InstaService
	Youtube   *youtube.TubeService
	Pinterest *pinterest.PinService
}

func NewClient

func NewClient() *Dlkit

Directories

Path Synopsis
examples
instagram/info command
pinterest command
spotify command
spotify/info command
spotify/search command
spotify/stream command
youtube command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL