Applescript for completing a Todoist task?

Todoist is pretty awesome (able to get most things completed with keyboard shortcuts) but the one massive thing missing is being able to complete a task (the task currently in focus) using a keyboard shortcut.

So, my only option is to create something myself.

My initial thought is to use Keyboard Maestro to trigger an Applescript but I’m not seasoned with Applescript at all.

Could anyone point me in the right direction (in regards to resources) that would make this challenge easier to solve?