How to migrate or copy schedules of Looks and Dashboards using API

Challenge:

  • I want to copy the schedule of dashboard 1 and assign to dashboard 2 using API; or
  • I migrate dashboard A to another instance successfully, now I want the set the same schedule for dashboard A using API.

Solution: 
Please find the script here 
https://github.com/looker-open-source/sdk-codegen/blob/main/examples/python/manage_schedules.py

1 0 818