module
Version:
v0.0.0-...-e91b8ae
Opens a new window with list of versions in this module.
Published: Feb 20, 2015
License: MIT
Opens a new window with license information.
README
¶
go-slack
Slack API client in Go.
Tested on all Go versions 1.1 and higher.
Getting started
package main
import "fmt"
import "github.com/danryan/go-slack/slack"
func main() {
team := "SLACK_TEAM"
apiKey := "SLACK_API_KEY"
client := slack.New(team, apiKey)
channels := client.Channels.List()
fmt.Printf("There are %v channels.", len(channels))
}
Resources
Is it any good?
Possibly.
License
This library is distributed under the MIT License, a copy of which can be found in the LICENSE file.
Directories
¶
Click to show internal directories.
Click to hide internal directories.