Creating js function to get all clips' scresnshoots from API