A To Do List made in python using tkinter as a GUI.
Main app
Web Editor
Editor
Api-Keys editor
-
In the first execuion the program is going open a window called To-Do List Api-Key Editor where you can enter your own api-keys.
-
The current api for the json is Json Bin that will be using the Api-key, the user will need to provide its own Api-key that is found in Api-keys Json Bin.
-
When the Api-key editor opens you can place the key and upload a template to create the json file.
-
Then the user has to copy the FileID and paste it in.
-
After the user places both the api-key and Fileid press the button Save & Exit.
As seen on the Api-key Editor Window there are some buttons. Each button has its function:
-
Upload template : It gets the provided api-key and upload a template.
-
Save : Saves the provided api-key or FileId.
-
Save & Exit : Saves the provided api-key or FileId and exits the window.
-
Exit : Exits the window.
In the Main app Window:
-
Re-Download json : Re-Downloads the json file to the directory data/json.
-
Reload json : Reloads the content of the json onto the list.
-
Exit : Closes the program and if Editor Window is active it closes it.
-
Open Editor : Launches the To-Do List Editor.
In the Editor Window:
-
Re-Download json : Re-Downloads the json file to the directory data/json.
-
Reload json : Reloads the content of the json onto the list.
-
Exit : Closes the program and if Localhost is active it closes it.
-
Run localhost : Runs the Web Editor.
-
Exits localhost : Closes the Web editor.
-
Update Status : Updates the status of the selected task between Completed and Not Completed.
-
Add Task : Add the task entered in the textbox (Entry) with the status Not Completed.
-
Delete Task : Delete the selected task from the json file.
-
Update Json : Update the json in Json Bin.
-
Delete api-key : Deletes the content of the file JSONBINKEY.
-
Delete FileID : Deletes the content of the file FileID.
In the Web Editor there are some other elements to use:
-
Get json: Get the json file to edit.
-
Update json: Update the json in the textbox above.
-
Add Task: Adds the written task to the textbox for later update.