Go 用 connpass API v2 クライアント
go get github.com/ryohidaka/go-connpassimport "github.com/ryohidaka/go-connpass"
func main() {
// APIキーを取得
apiKey := "<YOUR_API_KEY>"
// クライアントを初期化
c := connpass.NewClient(apiKey)
// イベント一覧を取得
events, err := c.GetEvents()
// イベント資料一覧を取得
presentations, err := c.GetEventPresentations(364)
// グループ一覧を取得
groups, err := c.GetGroups()
// ユーザー一覧を取得
users, err := c.GetUsers()
// ユーザー所属グループ一覧を取得
userGroups, err := c.GetUserGroups("haru860")
// ユーザー参加イベント一覧を取得
userAttendedEvents, err := c.GetUserAttendedEvents("haru860")
// ユーザー発表イベント一覧を取得
userPresenterEvents, err := c.GetUserPresenterEvents("haru860")
}This project is licensed under the MIT License - see the LICENSE file for details.