Nicolive comments fetcher.
$ go get github.com/dqn/nicolive
package 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