How to call api in repeater via database?

@yisrael-wix I hope you understand my project but i’m not able to understand how can i call youtube api in repeater i already done this project in simple way with some html & javascript but i want to apply on repeaters using wix that means when i submit channel id to the database it start showing live count of that channel on repeater if it is possible to do in wix please give me suggestion how can i call & correct these errors via code