{"id":16541765,"url":"https://github.com/simnalamburt/kollus-ruby","last_synced_at":"2025-07-31T19:04:11.627Z","repository":{"id":56880471,"uuid":"43566799","full_name":"simnalamburt/kollus-ruby","owner":"simnalamburt","description":":package: kollus API written in ruby","archived":false,"fork":false,"pushed_at":"2017-01-09T15:03:24.000Z","size":39,"stargazers_count":5,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-22T21:18:16.575Z","etag":null,"topics":["kollus","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simnalamburt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-02T17:34:14.000Z","updated_at":"2016-12-10T11:34:41.000Z","dependencies_parsed_at":"2022-08-20T23:40:20.599Z","dependency_job_id":null,"html_url":"https://github.com/simnalamburt/kollus-ruby","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/simnalamburt%2Fkollus-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simnalamburt%2Fkollus-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simnalamburt%2Fkollus-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simnalamburt%2Fkollus-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simnalamburt","download_url":"https://codeload.github.com/simnalamburt/kollus-ruby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219859381,"owners_count":16556036,"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":["kollus","ruby"],"created_at":"2024-10-11T18:55:49.875Z","updated_at":"2024-10-11T18:55:49.964Z","avatar_url":"https://github.com/simnalamburt.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nCopyright 2015-2016 Hyeon Kim\n\nLicensed under the Apache License, Version 2.0 \u003cLICENSE-APACHE or\nhttp://www.apache.org/licenses/LICENSE-2.0\u003e or the MIT license\n\u003cLICENSE-MIT or http://opensource.org/licenses/MIT\u003e, at your\noption. This file may not be copied, modified, or distributed\nexcept according to those terms.\n--\u003e\n\nkollus-ruby [![version][]][rubygems]\n========\n[kollus] API written in **ruby**. [Click to see a sample][sample]\n\n```ruby\nrequire 'kollus'\n\nkollus = Kollus.new 'catenoid-sample', '1234567890abcdef' # Use your own one\n\n# 동영상 플레이하기\nsample = kollus.media '7MscjbVl', 'client_user_id'\n\nsample.url        # http://v.kr.kollus.co...61|V1.0\nsample.download   # http://v.kr.kollus.co...61|V1.0\u0026download\nsample.token      # D9C34B694FF4728E430E5E0..\n\n# 동영상 업로드\nupload = kollus.upload\n\nupload.url        # http://upload.kr.kollus.com/20150101-abcd1234\nupload.key        # 20150101-abcd1234\nupload.expires_at # 2015-01-01 06:00:00 +0900\n```\n\nGetting Started\n--------\nInstall the gem with:\n```bash\ngem install kollus\n```\n\nOr you can add it to your Gemfile with:\n```ruby\ngem 'kollus'\n```\n\nYou can simply drop this gem into your ruby web application.\n\n```ruby\n## Controller\n\n# Use your own one\naccount_key = 'mycompany-key'\napi_token = 'abcdef0123456789'\n\nkollus = Kollus.new account_key, api_token\n\n@media1 = kollus.media '7MscjbVl', 'user-1'\n@media2 = kollus.media 'Kcrbjc2S', 'user-2'\n@upload = kollus.upload\n```\n\n```erb\n\u003c%# View %\u003e\n\n\u003ca href=\"\u003c%= @media1.url %\u003e\"\u003e동영상 보러가기\u003c/a\u003e\n\u003ca href=\"\u003c%= @media2.download %\u003e\"\u003e동영상 다운받기\u003c/a\u003e\n\n\u003cform action=\"\u003c%= @upload.url %\u003e\" method=\"POST\" enctype=\"multipart/form-data\"\u003e\n  \u003cinput type=\"file\" name=\"upload-file\"\u003e\n  \u003cinput type=\"submit\" value=\"동영상 업로드\"\u003e\n\u003c/form\u003e\n```\n\nPlease look at the [sample application][sample] for the working example of kollus-ruby.\n\n#### How to run sample application\nSee [kollus-ruby-sample][sample]\n\n\u003cbr\u003e\n\n--------\n*kollus-ruby* is primarily distributed under the terms of both the [MIT license]\nand the [Apache License (Version 2.0)]. See [COPYRIGHT] for details.\n\n[version]: https://img.shields.io/gem/v/kollus.svg\n[rubygems]: https://rubygems.org/gems/kollus\n[kollus]: http://kollus.com\n[sample]: https://github.com/simnalamburt/kollus-ruby-sample\n[MIT license]: LICENSE-MIT\n[Apache License (Version 2.0)]: LICENSE-APACHE\n[COPYRIGHT]: COPYRIGHT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimnalamburt%2Fkollus-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimnalamburt%2Fkollus-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimnalamburt%2Fkollus-ruby/lists"}