An open API service indexing awesome lists of open source software.

https://github.com/blopa/freedompop-telegram-bot

A freedompop telegram bot
https://github.com/blopa/freedompop-telegram-bot

api cryptography freedompop telegram telegram-bot

Last synced: over 1 year ago
JSON representation

A freedompop telegram bot

Awesome Lists containing this project

README

          

# FreedomPop Telegram Bot

Source code for the Telegram bot [@FreedomPopBot](https://telegram.me/freedompopbot). With it you can send and receive text messages from your FreedomPop Account.
This bot uses sqlite to store user data, everything is encrypted so your data is always safe.

A big thanks to [dodysw](https://github.com/dodysw/) who wrote [this](https://github.com/dodysw/fpopclient) unnoficial API and [wodim](https://github.com/wodim) who extended the unnoficial API.

**This is a fan-made Telegram Bot which is not supported by or associated with FreedomPop.**

# How To Use
Open Python Console and run:
```python
pip install -r requirements.txt
```
And then:
```python
from cryptography.fernet import Fernet
Fernet.generate_key()
```
It will print out a cryptography key like:

`XOQ9caZwiFsHQNCtnGYi-b6tkcEdT2jTaabWiL4Rjy0=`

Rename the file `config.ini.example` to `config.ini` and fill all the information, then run:

```sh
nohup python app.py >/dev/null 2>&1 &
```

# Info

**token:** Your Telegram Bot API Key

**crypto_key:** The key generated by cryptography.fernet

**api_client:** FreedomPop API Client

**api_secret:** FreedomPop API Secret

**api_push_token:** FreedomPop API Push Token

**api_app:** FreedomPop App Version

**api_device_id:** FreedomPop Device ID

**api_device_sid:** FreedomPop Device SID

**api_radio_type:** FreedomPop Radio Type

# F.A.Q.
**Q: Where do I get api_client / api_secret / api_push_token / api_app / api_device_id / api_device_sid / api_radio_type**

A: I got api_client and api_secret here: [FreedomPop Python API](https://github.com/dodysw/fpopclient/blob/master/api.py#L10), for the api_app you can use "fm.", the rest you can use what's on the config.ini.example file.

**Q: Where do I run this bot?**

A: I recommend using http://i-83.net

**Q: Can you implement ??> function?**

A: I can try. Open a issue and I'll see what I can do.

**Q: Your bot is awesome. How can I help?**

A: Thank you! You can help by codding more features, creating pull requests, or donating using Bitcoin: **1BdL9w4SscX21b2qeiP1ApAFNAYhPj5GgG**

License
----
Free. Don't forget to star :D

**Free Software, Hell Yeah!**