go-telegram-weather-bot

command module
v0.0.0-...-37350bf Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2017 License: MIT Imports: 14 Imported by: 0

README

Telegram Weather Bot (Go)

Build Status codecov Go Report Card telegram bot

Telegram Weather Bot written in Go.

Usage

First, You need have telegram account!

Add @BotFather and send /newbot command to make new Bot, then you will get bot token.

After get bot token then write token into token.json then running:

$ go get github.com/go-telegram-bot-api/telegram-bot-api
$ go get github.com/bitly/go-simplejson

$ go run main.go utils.go weather.go

Screenshot

telegram-weather-bot

Test

$ go test

Build

$ go build

Weather API

☀️ Yahoo Weather

LICENSE

MIT © Peng Jie

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps
_workspace/src/github.com/go-telegram-bot-api/telegram-bot-api
Package tgbotapi has functions and types used for interacting with the Telegram Bot API.
Package tgbotapi has functions and types used for interacting with the Telegram Bot API.
_workspace/src/github.com/technoweenie/multipartstreamer
Package multipartstreamer helps you encode large files in MIME multipart format without reading the entire content into memory.
Package multipartstreamer helps you encode large files in MIME multipart format without reading the entire content into memory.

Jump to

Keyboard shortcuts

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