API Smart Application

< >

Description

This project was is a smart application which can get data from multiple applications and display on one page. This project was developed in Python using Kivy to develop the application graphical user interface. Multithreading was used to poll each API in an external python file to the GUI and when values have been updated, to update the GUI.

Weather

The application gets the weather of the current day and the next four upcoming days, displaying an icon and the average temperature. The api used is OpenWeather, which provided accurate weather and temperature conditions.

Google Calendar

The application was able to gather the three upcoming events in your Google Calendar. It would display: the title, date and time if able to fit within the label.

TomTom

Another API which was used was TomTom, this was used to gather accurate data about my commute to work and university. The locations, commute type and API key are stored on a JSON document which is easy to update.

Spotify

The final API used was Spotify’s API which could grab the current song, artist and timer of the song. As the song plays the white ring around the Spotify Icon will increase in size depending on completion percentage of the song.

Outcome

A successful project which increased my understanding of APIs to create an application which could poll data from multiple locations.