Master linkedin restapi msh

- Task: https://www.odoo.com/web?#id=8830&view_type=form&model=project.task&menu_id=3942&action=327
- Pad: https://pad.odoo.com/p/r.esmRR7w6RxXjBBlx
can you seperate logic into small functions ?