webscrapping-1mg-php-telegrambot
Medico is a telegram bot which provide medicine information.
Medico uses Goutte php web scrapper to scrap data from 1mg.com
Telegram Bot Link : https://t.me/Medicoonlinebot
NOTE : THIS IS ONLY FOR EDUCATIONAL PURPOSE ๐ซ
โน๏ธ Table of Contents
โก Installation and Usage
Step 1 : Goutte
Requirements : Goutte depends on PHP 7.1+.
Require this package with composer: composer require fabpot/goutte
Step 2 : Clone or Download the Repo
Step 3: Create a telegram bot using Bot Father For More Info : https://core.telegram.org/bots#3-how-do-i-create-a-bot
Step 4 : Set the Webhook for the bot
Step 5 : Update the bot api in the medico.php File.
Step 6 : Run ๐
๐ฅ Features
This telegram bot scrap data fom 1mg.com. Just send medicine name and get list of all matching medicine. Select the proper medicine and get all the information for the same. Also purchase link will be given so if you need can order on 1mg.com
Developer
Hi ๐, I'm Akshay Shetty
A passionate Web developer from India
ScreenShots
Lesson
After creating this telegram bot i got knowledge on 1.What is Webscrapping and how to web scrap 2.Goutte php web scrapper ( Installation and usage) 3.How to build telegram bot using php 4.Telegram bot inline keyboard and callback