Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/myles/telegram-myles-bot
A Telegram Bot I created about me.
https://github.com/myles/telegram-myles-bot
python telegram telegram-bot
Last synced: 10 days ago
JSON representation
A Telegram Bot I created about me.
- Host: GitHub
- URL: https://github.com/myles/telegram-myles-bot
- Owner: myles
- License: mit
- Created: 2016-08-18T15:53:38.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-26T20:23:08.000Z (almost 2 years ago)
- Last Synced: 2024-10-08T04:40:17.437Z (about 1 month ago)
- Topics: python, telegram, telegram-bot
- Language: Python
- Homepage: https://telegram.me/MylesBot
- Size: 57.6 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[![Code Climate](https://codeclimate.com/github/myles/telegram-myles-bot/badges/gpa.svg)](https://codeclimate.com/github/myles/telegram-myles-bot)
# [@MylesBot](https://telegram.me/MylesBot)
A Telegram Bot I created about me.
## Requirments
* [Telegram Bot](https://core.telegram.org/bots#3-how-do-i-create-a-bot)
* [Foursquare](https://developer.foursquare.com/)
* Python 2.7## Development Environment Setup
You will need the following:
* Python 2.7
* pip
* virtualenvwrapper
* API Keys for Foursquare, Instagram, and TwitterStart by cloning the repository:
```
$ git clone [email protected]:myles/telegram-myles-bot
$ cd ~/telegram-myles-bot
```Create a Python virtual environment:
```
~/telegram-myles-bot $ mkvritualenv telegram-myles-bot
(telegram-myles-bot) ~/telegram-myles-bot $
```The (telegram-myles-bot) prefix indicates that a virtual environment called
"telegram-myles-bot" is being used. Next, check that you have the correct
version of Python:```
(telegram-myles-bot) ~/telegram-myles-bot $ python --version
Python 2.7.12
(telegram-myles-bot) ~/telegram-myles-bot $ pip --version
pip 8.0.2 from /Users/.../site-packages (python 2.7)
```Install the project requirements:
```
(telegram-myles-bot) ~/telegram-myles-bot $ pip install -U -r requirements.txt
```Create the configuration file at `config.json` that looks like:
```
{
"telegram": "",
"foursquare": {
"client_id": "",
"client_secret: "",
"access_token": ""
}
}
```