Eine API in einen Script mehrmals aufrufen - PHP