{"id":14063318,"url":"https://github.com/kaltura/Kaltura-Library-Export-Excel","last_synced_at":"2025-07-29T15:32:28.593Z","repository":{"id":56288130,"uuid":"52519528","full_name":"kaltura/Kaltura-Library-Export-Excel","owner":"kaltura","description":"Export Kaltura media data","archived":false,"fork":false,"pushed_at":"2022-10-05T10:28:26.000Z","size":5345,"stargazers_count":15,"open_issues_count":1,"forks_count":4,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-08-13T07:04:37.276Z","etag":null,"topics":["excel","kaltura","kaltura-account","kaltura-api","metadata","php","script-loops"],"latest_commit_sha":null,"homepage":"https://developer.kaltura.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kaltura.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-25T11:27:06.000Z","updated_at":"2024-08-13T07:04:37.276Z","dependencies_parsed_at":"2023-01-19T04:30:32.484Z","dependency_job_id":null,"html_url":"https://github.com/kaltura/Kaltura-Library-Export-Excel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaltura%2FKaltura-Library-Export-Excel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaltura%2FKaltura-Library-Export-Excel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaltura%2FKaltura-Library-Export-Excel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaltura%2FKaltura-Library-Export-Excel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaltura","download_url":"https://codeload.github.com/kaltura/Kaltura-Library-Export-Excel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228028289,"owners_count":17858309,"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":["excel","kaltura","kaltura-account","kaltura-api","metadata","php","script-loops"],"created_at":"2024-08-13T07:03:16.180Z","updated_at":"2024-12-04T01:30:32.909Z","avatar_url":"https://github.com/kaltura.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# Kaltura data export\n\n\n# Configuration\nBefore running the script, follow these steps:\n\n1. Download the [Kaltura PHP 5.3+ API Client archive](https://developer.kaltura.com/api-docs/Client_Libraries) and extract onto the `BASE_DIR/kaltura-client` directory (or edit `accountdump.php` to point to a different path)\n2. Edit `accountdump.php` and set the following parameters:  \n\t* `PARTNER_ID`: the Kaltura partner ID\n\t* `PARTNER_NAME`: the account name (only used logging and output filename)\n\t* `ADMIN_SECRET`: the partner's ADMIN secret \n\t* `SERVICE_URL`: the Kaltura API endpoint (https://www.kaltura.com when using SaaS)\n\t* `KS_EXPIRY_TIME`: Session duration; since the execution time will vary based on the number of records, be sure to set the duration accordingly.\n\t* `ENTRY_STATUS_IN`: defines the entry statuses to retrieve  \n\t* `ENTRY_TYPE_IN`: defines the entry types to retrieve \n\t* `ENTRY_FIELDS`: entry object members to export (excluding custom metadata, that is set in `METADATA_PROFILE_ID`), `entryId`, captions and categories will be added to the above\n\t* `PARENT_CATEGORIES`: optional; IDs of Kaltura Categories you'd like to limit the export to\n\t* `FILTER_TAGS`: tags to filter by (`tagsMultiLikeOr`)\n\t* `CYCLE_SIZES`: determines how many entries will be processed in each multi-request call\n\t* `METADATA_PROFILE_ID`: the profile id of the custom metadata profile to get its fields per entry\n\t* `ONLY_CAPTIONED_ENTRIES`: when set to `true` only entries with caption assets be included in the output\n\t* `GET_CAPTION_URLS`: when set to `true`, caption download URLs will be included\n\t* `ERROR_LOG_FILE`: the name of the `KalturaLogger` export file\n\t* `STOP_DATE_FOR_EXPORT`: defines a stop time for the iteration loop. Any input supported by `strtotime` can be passed  e.g. '45 days ago' or '01/01/2017', etc. . If set to null or -1, it will be ignored and the script will iterate over all entries matching the other criteria.\n\t* `DEBUG_PRINTS`: set to true if you'd like the script to output logging to the console (this is different from the `KalturaLogger`)\n\t* `$exportFileName`: sets the name of the output XLS file (do not include the file extension).\n  \nAfter setting the values for the above parameters, run the script using PHP CLI:  \n```\n$ php accountdump.php\n```\n\n# How you can help (guidelines for contributors) \nThank you for helping Kaltura grow! If you'd like to contribute please follow these steps:\n* Use the repository issues tracker to report bugs or feature requests\n* If you extend or fix anything in the code, please submit your patch as a GitHub pull-request\n* Sign the [Kaltura Contributor License Agreement](https://agentcontribs.kaltura.org/)\n* Read [Contributing Code to the Kaltura Platform](https://github.com/kaltura/platform-install-packages/blob/master/doc/Contributing-to-the-Kaltura-Platform.md)\n\n# Where to get help\n* Join the [Kaltura Community Forums](https://forum.kaltura.org/) to ask questions or start discussions\n* Read the [Code of conduct](https://forum.kaltura.org/faq) and be patient and respectful\n\n# Get in touch\nYou can learn more about Kaltura and start a free trial at: http://corp.kaltura.com    \nContact us via Twitter [@Kaltura](https://twitter.com/Kaltura) or email: community@kaltura.com  \nWe'd love to hear from you!\n\n# License and Copyright Information\nAll code in this project is released under the [AGPLv3 license](http://www.gnu.org/licenses/agpl-3.0.html) unless a different license for a particular library is specified in the applicable library path.   \n\nCopyright © Kaltura Inc. All rights reserved.   \nAuthors and contributors: See [GitHub contributors list](https://github.com/kaltura/Kaltura-Library-Export-Excel/graphs/contributors).  \n\n### Open Source Libraries\nReview the [list of Open Source 3rd party libraries](open-source-libraries.md) used in this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaltura%2FKaltura-Library-Export-Excel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaltura%2FKaltura-Library-Export-Excel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaltura%2FKaltura-Library-Export-Excel/lists"}