go-slack

module
v0.0.0-...-e91b8ae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2015 License: MIT

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

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL