Skip to content

twitcasting/twitcasting-api-go

 
 

Repository files navigation

TwitCasting API v2 Client in Go

cas is a half-baked Go client library for the TwitCasting API v2.

Installing

go get github.com/nobuf/cas

Example

Getting User Information

package main

import (
	"github.com/nobuf/cas"
	"log"
)

func main() {
	api := cas.New("your-client-id", "your-client-secret")
	u, err := api.User("twitcasting_jp")
	if err != nil {
		log.Fatal(err)
	}
	log.Printf("%+v\n", u)
}

See other examples in the examples folder. You can generate your client id and secret via the Developer page.

Contributing

All are welcome :)

About

🐦 TwitCasting API v2 Client in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%