Codez un logiciel

Cancelled Posted Feb 17, 2016 Paid on delivery
Cancelled Paid on delivery

Creation of Google_calendar plugin alarm type.

Creation of functionality for our system

The plugin must Be compatible with Python 3 and uses “class” (object oriented programming)

Our system environment is a Debian 8.2

The need is to create functionality where Google users can plan an event per day, in order that our system could recuperate the beginning date and hour of the event.

In functional validation mode, we tested the script: .[url removed, login to view]

Pre-requirements: The final user must encrypt his “Application api calendar” at this web address:

[url removed, login to view]

The authentication method to use the Google calendar’s API is free. We have tested and approved the method used in Quickstart/python.

We will store every plugin parameters in a [url removed, login to view] file, following the development method “ID clients Oauth 2.0” will be store in the client_secret.json.

The main goal of the “Class” is to:

• Recover in a calendar named variable (Define in the [url removed, login to view] file)

• The next event including in the title the text ##EVENT ## (Variable defined in the [url removed, login to view] file)

This event must be today (But in the future) or tomorrow, if this is another date we do nothing.

If we do nothing, we must verify again in a 24H delay (Delay configurable in the [url removed, login to view] file, by default 24h.)

If we get an answer, the plugin send back to our system the date and hour of the start of the event. ( with the format YYYYMMDDHHMM (Year month day hour minutes without space and local time zone).

The function can be launch in a planned thread or manually

At this moment, the users interface is not choosen(Pygame,QT,Kivy….)

But within a class:

• We need an object that allow to modify each variables : calendar’s name, look in the title to find the text, the key for the authentication etc…

• We need an object to get back and display each variables in the future typing zone

• The text of each typing zone came from language file. An object will allow to display it

The plugin must follow the arborescence

plugin\alarm-gcalendar

plugin\alarm-gcalendar\language

plugin\alarm-gcalendar\img

It will be composed of these next files

plugin\alarm-gcalendar\[url removed, login to view]

plugin\alarm-gcalendar\[url removed, login to view]

plugin\alarm-gcalendar\[url removed, login to view] (si nécessaire)

plugin\alarm-gcalendar\language\[url removed, login to view]

The variables List will be store in the [url removed, login to view] ([url removed, login to view])

CalendarName ; Texte2Find ; IDclient ; SyncEvery ; …

In the language repertory will be the language file > [url removed, login to view] [url removed, login to view] etc…

The default language of the Plugin is [url removed, login to view], the language choice is made by using the language attribute of the User object.

If the language of the user doesn’t exist, we use en.json. We will handle the translation.

The formatting of the language file must be:

{

"CalendarName": "Primary",

"IDclient": "Your ID Client"

}

JSON Linux Python Software Development

Project ID: #9683613

About the project

Remote project Active Feb 18, 2016