{"id":18498092,"url":"https://github.com/apivideo/helpful-scripts","last_synced_at":"2025-06-22T23:04:25.555Z","repository":{"id":108564872,"uuid":"267589833","full_name":"apivideo/helpful-scripts","owner":"apivideo","description":"Helpful scripts for massive uploads on api.video","archived":false,"fork":false,"pushed_at":"2023-03-08T15:36:24.000Z","size":52,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-09T18:00:01.283Z","etag":null,"topics":["php","video"],"latest_commit_sha":null,"homepage":"https://api.video","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apivideo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-28T12:55:09.000Z","updated_at":"2023-08-28T21:40:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"8cc1bb0f-7126-450a-b119-5c5ba4a4e9bb","html_url":"https://github.com/apivideo/helpful-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/apivideo/helpful-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apivideo%2Fhelpful-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apivideo%2Fhelpful-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apivideo%2Fhelpful-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apivideo%2Fhelpful-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apivideo","download_url":"https://codeload.github.com/apivideo/helpful-scripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apivideo%2Fhelpful-scripts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261380899,"owners_count":23149963,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["php","video"],"created_at":"2024-11-06T13:37:40.018Z","updated_at":"2025-06-22T23:04:20.518Z","avatar_url":"https://github.com/apivideo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![badge](https://img.shields.io/twitter/follow/api_video?style=social)](https://twitter.com/intent/follow?screen_name=api_video)\n\n[![badge](https://img.shields.io/github/stars/apivideo/helpful-scripts?style=social)](https://github.com/apivideo/helpful-scripts)\n\n[![badge](https://img.shields.io/discourse/topics?server=https%3A%2F%2Fcommunity.api.video)](https://community.api.video)\n\n![](https://github.com/apivideo/.github/blob/main/assets/apivideo_banner.png)\n\n[api.video](https://api.video) is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes.\n\n# helpful-scripts\nThis repository contains useful scripts for PHP users who want to move videos into api.video more easily, or extract data details from your api.video account into a csv file. It includes:\n* Google Drive to api.video - Move all your videos from a folder on your Google Drive into api.video\n* FTP Server to api.video - Move all your videos from a folder on your FTP server into api.video\n* Export Video Details to .csv File - Gather data about all your videos on api.video and export it in a .csv file.\n\n# Google Drive to api.video \n\nQuickly ingest video from Google Drive to api.video with this script.\n\n## Prerequisites\n\n* PHP 5.4 or greater with the command-line interface (CLI) and JSON extension installed\n* The Composer dependency management tool\n* A Google account with Google Drive enabled\n* An api.video account\n\n## Installation\n\n```shell\ncomposer require api-video/php-sdk\ncomposer require google/apiclient:^2.0\n```\n## Walkthrough\nIf you want help setting up the Google Drive to api.video script, we have a complete walkthrough available:\n[Helpful PHP Scripts Pt 1 - Upload Videos from Google Drive to API Video](https://api.video/blog/tutorials/helpful-php-scripts-upload-videos-from-google-drive-to-api-video)\n \n## Quick Start\n\n```shell\nphp Ingest_google_drive.php\n```\n\n# Ingest from ftp server to api.video \n\nEasily ingest files from a selected ftp.server to your api.video account. \n\n## Prerequisites\n\n* PHP 5.4 or greater with the command-line interface (CLI)\n* The Composer dependency management tool\n* An Ftp server account\n* An api.video account\n\n## Installation\n\n```shell\ncomposer require api-video/php-sdk\n```\n\n## Walkthrough\nIf you want help setting up the Google Drive to api.video script, we have a complete walkthrough available:\n[Helpful PHP Scripts Pt 2 - Upload Videos from an FTP Server](https://api.video/blog/tutorials/helpful-php-scripts-pt-2-upload-videos-from-an-ftp-server)\n \n### Quick start\n\n```shell\nphp import_from_ftp.php\n```\n\n#  php-export-csv\n\nAllow to easily export data details from tour api.video account into a csv file.\n\n## Prerequisites\n\n* PHP 5.4 or greater with the command-line interface (CLI)\n* The Composer dependency management tool\n* An api.video account\n\n## Installation\n\n```composer require api-video/php-sdk\n```\n## Walkthrough\nIf you want help setting up the Export Video Details to a .csv File script, we have a complete walkthrough available:\n[Helpful PHP Scripts Pt 3 - Export All Your Video Details to a .csv File](https://api.video/blog/tutorials/helpful-php-scripts-pt-3-export-all-your-video-details-to-a-csv/)\n\n## Quick Start\n\n```shell\nphp create_csv.php\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapivideo%2Fhelpful-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapivideo%2Fhelpful-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapivideo%2Fhelpful-scripts/lists"}