Git Product home page Git Product logo

w-ambulance's Introduction

W-ambulance

A Whatsapp Bot developed by Team : LTFT (Aritra,Rounak,Mayukh, Abesh) for Hackathon (Innovision-2021 by Department of CSE RCCIIT).

As in emergency it's quite hard to search for an ambulance ,hospital in google or to download new health related apps from PlayStore/Appstore. Also nowadays almost everyone have a Whatsapp account, so we thought to build a WhatsApp Bot which will arrange Ambulance in no time.

Demo Video (with 4 screen side by side)

WAmbulance.Demo.mp4

Flow Chart

Inspiration :

According to NIEM almost 20 % of patients die due to traffic delays, & in year 2016 only 1.4 lakh people died in road accident out of which almost 30% died due to late arrival of Ambulance.

So we team LTFT comes with this idea to build a WhatsApp Bot which will help a user to contact an Ambulance, Hospital & nearby Police Station in no time.

What it does:

It asks a WhatsApp user to share his/her 'current location' and according to that it searches for nearby Ambulances & shares that patient's complete details (with live location) to the nearest Ambulance.

And then it searches for nearest hospital (with highest rating in google) within a given radius & shares that data with the ambulance & patient as destination (with distance & estimate driving time) in a single WhatsApp message.

And then it searches for nearest police station to Hospital & nearest police station to the Patient and asks both of them to clear road jam between Ambulance Location - Patient Location & Patient Location - Hospital Location , and shares ambulance's complete details (eg. Number Plate Details) with pick up & drop off location.

Also, it shares nearest vaccination centres details according to your location through WhatsApp

How we built it :

We built it using Flask, Twilio, Google Reverse Geocoding API, Google Places API, Google Distance Matrix API & to access csv datas we have used pandas

User Manual

pip install twilio
pip install Flask
pip install requests


For Twilio click here

Login / Create Account using Email & Mobile number

Click on: Develop -> Messaging -> Try it out -> Send a WhatsApp message

Send your activation code (eg. join ....) to +14155238886


For Google API click here

Login using Google

Create a project

Create --> Billing Account --> Wait for Verification

Search --> Geocoding API --> Enable it ---> Copy --> API KEY

Search --> Places API --> Enable it ---> Copy --> API KEY Search --> Distance MAtrix API --> Enable it ---> Copy --> API KEY


Download ngrok from here

Unzip the file

open terminal from Downloads or where you have saved that file

paste ./ngrok http 5000 inside your terminal & press enter

Copy --> Forwarding No.1 (eg. http://..........ngrok.io) --> & Paste that here [When A Message Comes In Box]

Copy --> Forwarding No.2 (eg. http://..........ngrok.io) --> & Paste that here [Status Callback URL]

w-ambulance's People

Contributors

belelaritra avatar coderrounak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.