YouTube API Quota Limits & Applications that Scale

前端 未结 1 1558
挽巷
挽巷 2021-02-06 10:47

I\'m currently working on an app that requires video uploading via youtube. I plan to share the video in app via the the youtube API. According to the documentation to share a v

1条回答
  •  -上瘾入骨i
    2021-02-06 11:26

    Actually, Now a days the quota cost for uploading videos is about 1600 per video upload. And the quota limit is also decrease by 100000 per day. For uploading 312 videos per day can cost 312*1600=499200. Which is less than 100000 quota limit. But if you want more videos to be uploaded you can increase data limit by little knowledge of php.

      $rand_keys = array_rand($num);
      $comm=$num[$rand_keys];
    

    Where $num is an array that contains keys, Whatever number you want. Each new request go to the next api key. By making 10 keys you can get 10 times than limit also. Other wise you have to apply for quotas.

    0 讨论(0)
提交回复
热议问题