{"id":19162342,"url":"https://github.com/agilie/vimeo-api-gem","last_synced_at":"2025-05-07T10:41:44.644Z","repository":{"id":71906143,"uuid":"113023221","full_name":"agilie/vimeo-api-gem","owner":"agilie","description":"A Ruby wrapper for the Vimeo API. Utilizes v3 API version","archived":false,"fork":false,"pushed_at":"2024-06-21T17:18:15.000Z","size":57,"stargazers_count":6,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T21:24:46.282Z","etag":null,"topics":["api-client","ruby","ruby-gem","ruby-on-rails","vimeo","vimeo-api"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agilie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2017-12-04T09:35:03.000Z","updated_at":"2022-09-29T14:43:26.000Z","dependencies_parsed_at":"2025-04-20T15:15:17.234Z","dependency_job_id":null,"html_url":"https://github.com/agilie/vimeo-api-gem","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/agilie%2Fvimeo-api-gem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agilie%2Fvimeo-api-gem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agilie%2Fvimeo-api-gem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agilie%2Fvimeo-api-gem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agilie","download_url":"https://codeload.github.com/agilie/vimeo-api-gem/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252861844,"owners_count":21815763,"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":["api-client","ruby","ruby-gem","ruby-on-rails","vimeo","vimeo-api"],"created_at":"2024-11-09T09:10:22.065Z","updated_at":"2025-05-07T10:41:44.635Z","avatar_url":"https://github.com/agilie.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"600\" style=\"vertical-align: middle\" src=\"https://github.com/agilie/vimeo-api-gem/wiki/assets/title.png\" alt=\"Vimeo API Client\"\u003e\n\u003c/p\u003e\n\n# Vimeo API Client\n\nA Ruby wrapper for the Vimeo API. It utilizes v3 Vimeo API version.\nFor more detailed documentation please refer to the [Wiki](https://github.com/agilie/vimeo-api-gem/wiki) \nand [official Vimeo documentation](https://developer.vimeo.com/)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'vimeo_api_client', git: 'https://github.com/agilie/vimeo-api-gem'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install vimeo_api_client\n    \n\u003cp align=\"center\"\u003e \n    \u003cimg width=\"600\" src=\"https://github.com/agilie/vimeo-api-gem/wiki/assets/main_logo.png\" alt=\"Example\"\u003e\n\u003c/p\u003e\n\n## Usage\n\n#### Universal API call\n\nAs long as not all the API endpoints are implemented in \"Ruby Way\" you can make any request \nwith a universal wrapper i.e\n\n```ruby\nVimeo.resource.get('/api/resource/id/etc')\n```\n\nAvailable actions are `get`, `post`, `put`, `patch` and `delete`\n\nFor example\n```ruby\n# Get all videos a user has liked\nVimeo.resource.get('/me/likes')\n\n# Add video to an album\nVimeo.resource.put(\"/me/albums/#{album_id}/videos/#{video_id}\")\n\n# Delete a channel\nVimeo.resource.delete(\"/channels/#{channel_id}\")\n```\n\n#### Working with resources\n\nSee more details on [Wiki](https://github.com/agilie/vimeo-api-gem/wiki/3-Resources)\n\nVimeo API workflow is based on a different resources such as **users**, \n**videos**, **albums**, **comments** etc. Each resource has its own\nuri and methods. Almost all of them has standard **C**reate \n**R**ead **U**pdate **D**estroy actions.\n\nYou can build a resource on the basis of its uri and call appropriate action:\n\n```ruby\n# Get all albums of user with ID 12345\nVimeo.album('/users/12345/albums').index\n\n# Delete my album with ID 67890\nVimeo.album('/me/albums/67890').destroy\n\n```\n\nResource may have some specific actions, i.e.\n\n```ruby\n# Add videos to my album\nVimeo.album('/me/albums/67890').add_videos(['11111', '22222', '33333'])\n```\n\nAs you can see the resources are nested. For example, **user** can have \nmany **albums**, **video** can have many **comments** and so on. \nUsing this, you can rewrite actions above in more natural way:\n\n```ruby\n# Get all albums of user with ID 12345\nVimeo.user('12345').albums.index\n\n# Delete my album with ID 67890\nVimeo.user.album('67890').destroy\n\n# Add videos to my album\nVimeo.user.album('67890').add_videos(['11111', '22222', '33333'])\n```\n\n## Author\nThis gem is open-sourced by [Agilie Team](https://www.agilie.com?utm_source=github\u0026utm_medium=referral\u0026utm_campaign=Git_Ruby\u0026utm_term=vimeo-api-gem) ([info@agilie.com](mailto:info@agilie.com))\n\n## Contributor\n[Sergey Mell](https://github.com/SergeyMell)\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/agilie/vimeo-api-gem. \nThis project is intended to be a safe, welcoming space for collaboration and contributors.\n\n## Contact us\nIf you have any questions, suggestions or just need a help with web or mobile development, \nplease email us at \u003cweb@agilie.com\u003e. You can ask us anything from basic to complex questions.\n\nWe will continue publishing new open-source projects. Stay with us, more updates will follow!\n\n## License\n\nThe gem is available as open source under the [MIT](LICENSE.txt) \nLicense (MIT) Copyright © 2017 [Agilie Team](https://www.agilie.com?utm_source=github\u0026utm_medium=referral\u0026utm_campaign=Git_Ruby\u0026utm_term=vimeo-api-gem)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagilie%2Fvimeo-api-gem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagilie%2Fvimeo-api-gem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagilie%2Fvimeo-api-gem/lists"}