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

https://github.com/dmdhrumilmistry/ip_user_info_telegram_bot

Telegram Bot which can retrieve IP information
https://github.com/dmdhrumilmistry/ip_user_info_telegram_bot

bot ipinfo python3 telgrambot

Last synced: 11 months ago
JSON representation

Telegram Bot which can retrieve IP information

Awesome Lists containing this project

README

          

# IP User info bot
Telegram Bot which can retrieve IP information

## Installation
- clone repository
```bash
git clone https://github.com/dmdhrumilmistry/ip_user_info_telegram_bot.git
```
- change directory to ip_user_info_telegram_bot
```bash
cd ip_user_info_telegram_bot
```
- Install requirements
```bash
pip3 install -r requirements.txt
```
- Update ipinfo.io and Telegram tokens in main.py on line 5 and 6 respectively.
- Start bot
```bash
python3 main.py
```

## Get Telegram bot token
- Get token from [Bot Father](https://t.me/botfather)
- Use /newbot command to start a new bot
- Enter Name
- enter bot username ending with bot such as [ip_user_info_bot](https://t.me/ip_user_info_bot)
- update token in main.py

## Get ipinfo.io access token
- Sign Up on [ipinfo.io](https://ipinfo.io)
- Copy generated access token
- update token in main.py

## commands
|Command|Description|
|:-|:-|
|/start|get chat id and user details|
|/help|get help menu|
|/getinfo [IP]|get details of IP|

## Requirements
- `Python`
- PyTelegramBotAPI
- `Telegram Bot Token`
- `Ipinfo Access Token`

### Have any Ideas 💡 or issue
- Create an issue
- Fork the repo, update script and create a Pull Request


### Connect with me on: