go-connpass is a Go client library for accessing the connpass API.
- Go version 1.7 or greater.
$ go get github.com/TsujiTakuya55/go-connpass/connpass
package main
import (
"fmt"
"github.com/TsujiTakuya55/go-connpass/connpass"
)
func main() {
param := &connpass.Param{
EventId:2,
}
client := connpass.NewClient()
connpass, _, err := client.Get(param)
if err != nil {
fmt.Println(fmt.Errorf("err! \n", err))
return
}
for _, k := range *connpass.Events {
fmt.Println("eventId :", *k.EventId)
fmt.Println("title :", *k.Title)
fmt.Println("address :", *k.Address)
fmt.Println("startedAt :", *k.StartedAt)
}
}
For details, please click here
coming soon
Please see the license file for the license of this library