Nicolive comments fetcher.
$ go get github.com/dqn/nicolivepackage main
import (
"fmt"
"github.com/dqn/nicolive"
)
func main() {
n, err := nicolive.New("MAIL", "PASSWORD")
if err != nil {
// Handle error.
}
err = n.Listen("LIVE_ID", func(c *nicolive.Chat) error {
fmt.Println(c.Text)
return nil
})
if err != nil {
// Handle error.
}
}$ go get github.com/dqn/nicolive/cmd/nicolive
$ nicolive <mail> <password> <live-id>MIT