DEV Community

Mirkan
Mirkan

Posted on • Edited on

mirkan1 Twilio x Dev Hackathon submission #TwilioHackathon

What I built

You can get a country's fight against COVID-19; how many confirmed number of cases, recovered patients, deaths, etc. by sending a message: example input

    to: +12017628866
    message: "USA" 
Enter fullscreen mode Exit fullscreen mode

example output

    In Italy confirmed number of cases are 159516.
        Recovered people are more than 35435.
        3260 people are still in critical condition and 20465 deaths
Enter fullscreen mode Exit fullscreen mode

And/Or you can get a news article about COVID-19 by sending message: example input

    to: +12017628866
    message: "news" 
Enter fullscreen mode Exit fullscreen mode

example output

    *India coronavirus: World's largest postal service turns lifesaver*
    India has the largest postal service in the world - and now it is stepping in to help deliver lifesaving medicines during a countrywide lockdown aimed at tackling the coronavirus pandemic. The BBC's Ayeshea Perera in Delhi reports. Red postal vans are a familiar sight in India. They make thousands of journeys every day, criss-crossing the ...
    from: YAHOO!,
    published on 13-4-2020
    https://news.yahoo.com/india-coronavirus-worlds-largest-postal-230159614.html
Enter fullscreen mode Exit fullscreen mode

Category Submission:

Interesting Integrations: an app that integrates Twilio with at least one other API.

Examples: appointment reminders app that uses a scheduling API, sports alert app that uses sports-stat APIs, location-based app that leverages geo-location APIs

Demo Link

MESSAGING TO +12017628866 WILL BE AVAILABLE UNTIL THE HECATRON IS OVER, FEEL FREE TO TEST IT
example input/output

Link to Code

https://github.com/mirkan1/covid19_sms_info

How I built it (what's the stack? did I run into issues or discover something new along the way?)

I learned how to use multitasking on python, and how to use Flask more efficiently

Additional Resources/Info

  • twilioAPI (twilio.com) for SMS messaging
  • rapidAPI (rapidapi.com) for information gathering

I am thinking to develop it more, making a webpage, and adding some good front-end stuff but for now, I wanted to share my progress with you

Top comments (1)

Collapse
 
mirkan1 profile image
Mirkan

you guys can message to +1(201) 762-8866.
The server is live