<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Andrea Melendez💜👩🏻‍💻</title>
    <description>The latest articles on Forem by Andrea Melendez💜👩🏻‍💻 (@andreamelende12).</description>
    <link>https://forem.com/andreamelende12</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F157978%2F60d8d5f3-2684-4b88-8042-c1af5676cf8c.jpg</url>
      <title>Forem: Andrea Melendez💜👩🏻‍💻</title>
      <link>https://forem.com/andreamelende12</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/andreamelende12"/>
    <language>en</language>
    <item>
      <title>🚀Bot-Whatsapp | COVID19-Colombia</title>
      <dc:creator>Andrea Melendez💜👩🏻‍💻</dc:creator>
      <pubDate>Sun, 19 Apr 2020 01:06:30 +0000</pubDate>
      <link>https://forem.com/andreamelende12/bot-whatsapp-covid19-colombia-42ic</link>
      <guid>https://forem.com/andreamelende12/bot-whatsapp-covid19-colombia-42ic</guid>
      <description>&lt;h2&gt;
  
  
  What We built
&lt;/h2&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;EN&lt;/strong&gt;:
&lt;/h2&gt;

&lt;p&gt;Hey Everyone, My partner &lt;a href="https://dev.to/jorgee97"&gt;https://dev.to/jorgee97&lt;/a&gt; and I, had built a whatsapp bot which brings useful information about the people that is infected in my country Colombia, besides, it has an option that sends the recommended name of a movie or series for the quarantine that we are living right now, this options sends a random movie or serie every time. The main idea is to have quick access to the information about our country situation. The bot has options like: &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Sending 0 - Lineas MinSalud Colombia:&lt;/strong&gt; If you use this option, the bot will reply with the call lines from the Ministry of Health of Colombia.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Sending 1 - Graphic of the current situation at Colombia:&lt;/strong&gt; If you use this option, the bot will reply the updated image of the day provided by the Ministry of Health which list the number of cases by region in Colombia. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Sending 2 - Resume COVID19 Colombia:&lt;/strong&gt; Using this option the bot will reply with the exact number of cases that exist in Colombia at the moment and will separate them for category.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Sending 3 - Movies and Series Recommendation (Random):&lt;/strong&gt; The bot will reply with a randomly selected movie or series to watch while in quarantine.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. If you would like to filter by city or state you just write the name of the city or state you want to get the information from:&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Ex:&lt;/strong&gt; (Bogota, Cordoba, Cali or Medellin) by doing that the bot will reply with the summariced information from the place you just asked for.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;ES&lt;/strong&gt;:
&lt;/h2&gt;

&lt;p&gt;Hola a todos. Mi compañero &lt;a href="https://dev.to/jorgee97"&gt;https://dev.to/jorgee97&lt;/a&gt; y mi persona, hemos creado un bot en Whatsapp que proporciona información útil de las personas contagiadas en nuestro país Colombia, ademas, tiene una opcion que envia un nombre de pelicula o serie recomendada para el tiempo de cuarentena que estamos viviendo, esto lo devuelve de forma aleatoria cada vez que se consulta, la idea es tener un lugar rapido y efectivo donde consultar como se encuentra la situacion del pais, el bot contiene opciones como:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Enviando 0 - Lineas MinSalud Colombia:&lt;/strong&gt; Si se utiliza esta opcion, el bot devolvera las lineas del Ministerio de Salud en Colombia (Nacional, Bogota, Numero desde celular).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Enviando 1 - Gráfico de situación actual en Colombia:&lt;/strong&gt; Si se utiliza esta opción, el bot devolverá la imagen actualizada, proporcionada por el Ministerio de salud de los casos que existen en el pais.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Enviando 2 - Resumen COVID19 Colombia:&lt;/strong&gt; Si se utiliza esta opción, el bot devolverá el numero de casos que existen en Colombia separados por categoría (Hospital, fallecidos, recuperados, UCI, casa).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Enviando 3 - Recomendacion de peliculas o series (Aleatorio):&lt;/strong&gt; Si se utiliza esta opcion, el bot devolvera la imagen y nombre de una pelicula o serie recomendada para ver durante la cuarentena.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Si se desea filtrar por ciudad o departamento se digita el nombre de ella. Ej: (Bogota, Cordoba, Cali o Medellin):&lt;/strong&gt; Con esta opción, el bot devolverá la informacion del numero de casos que existen en dicha ciudad o departamento separados por categoria (Hospital, fallecidos, recuperados, UCI, casa).&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo Link
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--YI9LE9iR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/o53unyennkvfm4k12hbt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--YI9LE9iR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/o53unyennkvfm4k12hbt.png" width="300"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--2w6vg_qo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/qyrijpdmkl0bjbewsvgs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--2w6vg_qo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/qyrijpdmkl0bjbewsvgs.png" width="300"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--sgCSXWFK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/wznwqgead40qtlqpa4hy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--sgCSXWFK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/wznwqgead40qtlqpa4hy.png" width="300"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Link to Code
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/Jorgee97/CovidTwilio"&gt;https://github.com/Jorgee97/CovidTwilio&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I built it (what's the stack? did I run into issues or discover something new along the way?)
&lt;/h2&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;EN:&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;To build the our bot, We used Flask, MongoDB, BeautifulSoup, Twilio's WhatsApp API and Docker for deployment.&lt;/p&gt;

&lt;p&gt;While doing our project we got some problems with the cache when we sent images twilio was caching those images and returning always the same one, but we did find a solution to the problem.&lt;br&gt;
By completing this project we learned a lot of new knowledge which are always welcome at the programming world.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;ES:&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Para construir nuestro bot, utilizamos Flask, MongoDB, BeautifulSoup, Api Twilio Whatsapp y Docker. &lt;/p&gt;

&lt;p&gt;Realizando nuestro proyecto tuvimos problemas con el cache que se mantenía al enviar imágenes durante la conversación de Whatsapp, al enviarse la primera, mantenía la misma siempre pero encontramos solución a nuestro error.&lt;br&gt;
Al realizar este proyecto se adquirieron nuevos conocimientos, que son siempre bienvenidos dentro del mundo de la programación.&lt;/p&gt;

&lt;h2&gt;
  
  
  Additional Resources/Info
&lt;/h2&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;EN:&lt;/strong&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Api Open Data Colombia: &lt;a href="https://www.datos.gov.co/Salud-y-Protecci-n-Social/Casos-positivos-de-COVID-19-en-Colombia/gt2j-8ykr/data"&gt;https://www.datos.gov.co/Salud-y-Protecci-n-Social/Casos-positivos-de-COVID-19-en-Colombia/gt2j-8ykr/data&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Movies and Series (Data Scrapping): &lt;a href="http://finde.latercera.com/"&gt;http://finde.latercera.com/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;ES:&lt;/strong&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Api Datos abiertos Colombia: &lt;a href="https://www.datos.gov.co/Salud-y-Protecci-n-Social/Casos-positivos-de-COVID-19-en-Colombia/gt2j-8ykr/data"&gt;https://www.datos.gov.co/Salud-y-Protecci-n-Social/Casos-positivos-de-COVID-19-en-Colombia/gt2j-8ykr/data&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Peliculas y series (Data Scrapping): &lt;a href="http://finde.latercera.com/"&gt;http://finde.latercera.com/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>twiliohackathon</category>
      <category>python</category>
      <category>docker</category>
    </item>
  </channel>
</rss>
