jhvst / go-hypem

Library for interacting with HypeMachine in Go (golang)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-hypem GoDoc

Library for converting HypeMachine.com's mediaid's into streamable links.

Installation

go get github.com/9uuso/go-hypem

Example

package main

import (
	"fmt"

	"github/9uuso/go-hypem"
)

func main() {
	url, err := hypem.Stream("2a59t")
	if err != nil {
		panic(err)
	}

	// http://api.soundcloud.com/tracks/196680458/stream?consumer_key=nH8p0jYOkoVEZgJukRlG6w
	fmt.Println(url)
}

About

Library for interacting with HypeMachine in Go (golang)

License:MIT License


Languages

Language:Go 100.0%