# Extract google calendar tasks to arduino

**URL:** <https://forum.arduino.cc/t/extract-google-calendar-tasks-to-arduino/483611>\
**Category:** General Guidance\
**Created:** [October 2, 2017, 12:06pm UTC](https://forum.arduino.cc/t/extract-google-calendar-tasks-to-arduino/483611 "2017-10-02T12:06:20Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![walhamdi99](https://avatars.discourse-cdn.com/v4/letter/w/41988e/32.png) [@walhamdi99](https://forum.arduino.cc/u/walhamdi99)\
**Post date:** [October 2, 2017, 12:06pm UTC](https://forum.arduino.cc/t/extract-google-calendar-tasks-to-arduino/483611/1 "2017-10-02T12:06:20Z")

</div>

Hello guys,

It is my first time writing on this forum hope to make full use of it,

I am making a project where I have to extract the tasks from google calendar for coming three months and I would like to update the Arduino of the status of the each day for the coming three months,

anybody could guide me,

thanks

---

<div class="post-metadata">

**Author:** ![Juraj](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/juraj/32/238785_2.png) [@Juraj](https://forum.arduino.cc/u/Juraj)\
**Post date:** [October 2, 2017, 12:09pm UTC](https://forum.arduino.cc/t/extract-google-calendar-tasks-to-arduino/483611/2 "2017-10-02T12:09:48Z")

</div>

What model of Arduino? What hardware for networking? What should it make with the data?

---

<div class="post-metadata">

**Author:** ![walhamdi99](https://avatars.discourse-cdn.com/v4/letter/w/41988e/32.png) [@walhamdi99](https://forum.arduino.cc/u/walhamdi99)\
**Post date:** [October 2, 2017, 12:35pm UTC](https://forum.arduino.cc/t/extract-google-calendar-tasks-to-arduino/483611/3 "2017-10-02T12:35:39Z")

</div>

im kinda new to Aruino world, and im working on arduino uno not sure if it's the right piece for this purpose,

the idea is to get the tasks notification from google calendar, and i have acrylic calendar with an led attached for each day, the idea is to blink an LED for each day so whenever i have a task, a red Led will Light up and when i don't have anything on specific day a green LED will light up..

---

<div class="post-metadata">

**Author:** ![ardly](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ardly/32/264974_2.png) [@ardly](https://forum.arduino.cc/u/ardly)\
**Post date:** [October 2, 2017, 2:13pm UTC](https://forum.arduino.cc/t/extract-google-calendar-tasks-to-arduino/483611/4 "2017-10-02T14:13:11Z")

</div>

An Arduino can certainly work the LEDs , the question is how will it interact with Google Calendar. What will the Calendar be running on and how are you panning on linking the devices?

---

<div class="post-metadata">

**Author:** ![Juraj](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/juraj/32/238785_2.png) [@Juraj](https://forum.arduino.cc/u/Juraj)\
**Post date:** [October 2, 2017, 2:23pm UTC](https://forum.arduino.cc/t/extract-google-calendar-tasks-to-arduino/483611/5 "2017-10-02T14:23:40Z")

</div>

are you able to write a pc program which reads the google calendar?

---

<div class="post-metadata">

**Author:** ![6v6gt](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/6v6gt/32/225488_2.png) [@6v6gt](https://forum.arduino.cc/u/6v6gt)\
**Post date:** [October 2, 2017, 4:24pm UTC](https://forum.arduino.cc/t/extract-google-calendar-tasks-to-arduino/483611/6 "2017-10-02T16:24:57Z")

</div>

You may have problems doing it directly from the Arduino. Access to the Google calendar will almost certainly be over TLS (https://) which the Arduino (AFIK) still does not support. You'll probably have to find a method for downloading it which does not involve the Arduino and transferring the data afterwards.

---

<div class="post-metadata">

**Author:** ![Coding\_Badly](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@Coding\_Badly](https://forum.arduino.cc/u/Coding_Badly)\
**Post date:** [October 2, 2017, 7:31pm UTC](https://forum.arduino.cc/t/extract-google-calendar-tasks-to-arduino/483611/7 "2017-10-02T19:31:40Z")

</div>

> 6v6gt:  
> ...access to the Google calendar ~~will almost certainly be~~ is over TLS (https://)...

...using OAuth 2.0.

Time for a Raspberry Pi.

There is even a nice example to get you started...

> **[Python quickstart  |  Google Calendar  |  Google for...](https://developers.google.com/calendar/api/quickstart/python)**

---

<div class="post-metadata">

**Author:** ![Johnny010](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/johnny010/32/1099305_2.png) [@Johnny010](https://forum.arduino.cc/u/Johnny010)\
**Post date:** [October 2, 2017, 7:52pm UTC](https://forum.arduino.cc/t/extract-google-calendar-tasks-to-arduino/483611/8 "2017-10-02T19:52:12Z")

</div>

You _could_ make your own API...

Google's API -\> Your API/websever -\> encrypt -\> arduino -\> decrypt

So your webserver (say an amazon BeanStalk instance free tier) can grab the data from Google's API using a python script that runs every say 15 minutes:  
[Python Quickstart Google API](https://developers.google.com/google-apps/calendar/quickstart/python)

Then that python script can update a mySQL database (Amazon Web Services RDS...comes with the beanstalk)

Your webserver/beanstalk then hosts a PHP file that contains the data in the database.

USE ENCRYPTION unless you seriously don't care.  
Just use a private/public key pair...say rsa128

There is a library for arduino that can use RSA 128.  
[Crypto-lib for Arduino](https://github.com/cantora/avr-crypto-lib)

You can generate a public/private key pair using openssl.

Maybe look at the ESP8266-12F or similar...a "NodeMCU".

---

<div class="post-metadata">

**Author:** ![walhamdi99](https://avatars.discourse-cdn.com/v4/letter/w/41988e/32.png) [@walhamdi99](https://forum.arduino.cc/u/walhamdi99)\
**Post date:** [October 7, 2017, 10:33am UTC](https://forum.arduino.cc/t/extract-google-calendar-tasks-to-arduino/483611/9 "2017-10-07T10:33:09Z")

</div>

> ardly:  
> An Arduino can certainly work the LEDs , the question is how will it interact with Google Calendar. What will the Calendar be running on and how are you panning on linking the devices?

Yeah, but i'm confused how to get the data from the google calendar and whether using Arduino is the best solution anyway.

---

<div class="post-metadata">

**Author:** ![Juraj](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/juraj/32/238785_2.png) [@Juraj](https://forum.arduino.cc/u/Juraj)\
**Post date:** [October 7, 2017, 4:11pm UTC](https://forum.arduino.cc/t/extract-google-calendar-tasks-to-arduino/483611/10 "2017-10-07T16:11:14Z")

</div>

forget the microcontroller for a while. start in PC. Java, C#, Python. what you like. find some examples. study it, debug it.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [May 5, 2021, 6:21pm UTC](https://forum.arduino.cc/t/extract-google-calendar-tasks-to-arduino/483611/11 "2021-05-05T18:21:35Z")

</div>


