Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neighborhood999/go-telegram-weather-bot
🚀 Telelgram Weather Bot written in Go.
https://github.com/neighborhood999/go-telegram-weather-bot
bot go telegram-weather-bot
Last synced: about 1 month ago
JSON representation
🚀 Telelgram Weather Bot written in Go.
- Host: GitHub
- URL: https://github.com/neighborhood999/go-telegram-weather-bot
- Owner: neighborhood999
- License: mit
- Created: 2016-09-04T09:43:46.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-06T05:54:02.000Z (over 7 years ago)
- Last Synced: 2024-10-28T05:36:05.772Z (3 months ago)
- Topics: bot, go, telegram-weather-bot
- Language: Go
- Size: 570 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Telegram Weather Bot (Go)
[![Build Status](https://img.shields.io/travis/neighborhood999/go-telegram-weather-bot.svg?style=flat-square)](https://travis-ci.org/neighborhood999/go-telegram-weather-bot)
[![codecov](https://img.shields.io/codecov/c/github/neighborhood999/go-telegram-weather-bot.svg?style=flat-square)](https://codecov.io/gh/neighborhood999/go-telegram-weather-bot)
[![Go Report Card](https://goreportcard.com/badge/github.com/neighborhood999/go-telegram-weather-bot?style=flat-square)](https://goreportcard.com/report/github.com/neighborhood999/go-telegram-weather-bot)
[![telegram bot](https://img.shields.io/badge/telegram-bot-blue.svg?style=flat-square)](https://github.com/neighborhood999/go-telegram-weather-bot)![](./screenshot/telegramBot-written-in-Go.png)
> Telegram Weather Bot written in Go.
## Usage
**First, You need have telegram account!**
Add [@BotFather](https://telegram.me/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:
```sh
$ 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](./screenshot/tg-weather-bot.jpg)
## Test
```sh
$ go test
```## Build
```sh
$ go build
```## Weather API
☀️ [Yahoo Weather](https://developer.yahoo.com/weather/)
## Related
- [Telegram Bot 開發起手式](http://neighborhood999.github.io/2016/07/19/Develop-telegram-bot/)
- [Telegram Weather Bot _(Nodejs)_](https://github.com/neighborhood999/telegram-weather-bot)
- [CafeNomad Telegram Bot](https://github.com/neighborhood999/telegram-cafe-nomad)## LICENSE
MIT © [Peng Jie](https://github.com/neighborhood999)