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

https://github.com/neuodev/echo

Echo is a telegram bot that can send hourly updates about the current price of USD/EGP and USD/ASR
https://github.com/neuodev/echo

Last synced: 3 months ago
JSON representation

Echo is a telegram bot that can send hourly updates about the current price of USD/EGP and USD/ASR

Awesome Lists containing this project

README

          

# Echo


echo

Echo is a telegram bot that can send hourly updates about the current price of USD/EGP, USD/ASR and gold prices.

You can find the bot on telegram with by searching about `@echo_v1_bot` and then you can start getting hourly updates about the prices

## Message Example

```
Prices updates 🔥🔥
1 USD = 19.15 EGP
1 USD = 3.75 SAR
1 SAR = 5.10 EGP
📈 Gold prices (1g) 👇👇
Gold 24k ⏩ 1093.94 EGP
Gold 22k ⏩ 1002.78 EGP
Gold 21k ⏩ 957.20 EGP
Gold 20k ⏩ 911.62 EGP
Gold 18k ⏩ 820.46 EGP
```

## Run with configs

```bash
USAGE:
echo.exe [OPTIONS]

OPTIONS:
-b, --broadcast-interval
Time to send the prices for all users [default: 8h]

-h, --help
Print help information

-u, --update-iterval
Time to poll latest updates from telegram ans store it in a local file [default: 10m]

-V, --version
Print version information
```

# This is on your own you need these three env variables

```bash
BOT_AUTH_TOKEN= # get it from https://core.telegram.org/bots/api follow the steps
EXCHAINGE_RATES_API_TOKEN = # from https://openexchangerates.org
GOLD_API_TOKEN= # from https://www.goldapi.io/
```

# References

[Telegram API](https://core.telegram.org/bots/api) To interact with the bot channel

[Open exchange rates](https://openexchangerates.org) To get the latest prices for every fiat curreny

[Gold API](https://www.goldapi.io) Get the latest price of gold