{"id":20481152,"url":"https://github.com/smolget/yadisk","last_synced_at":"2025-04-13T14:10:56.128Z","repository":{"id":20510905,"uuid":"23789553","full_name":"Smolget/yadisk","owner":"Smolget","description":"Yandex.Disk API client (ruby gem)","archived":false,"fork":false,"pushed_at":"2023-04-24T07:10:29.000Z","size":60,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-27T05:11:46.629Z","etag":null,"topics":["api-client","hacktoberfest","ruby","yandex","yandex-disk","yandex-disk-client"],"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/Smolget.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":"2014-09-08T12:15:26.000Z","updated_at":"2023-11-29T14:05:41.000Z","dependencies_parsed_at":"2023-02-10T20:45:58.979Z","dependency_job_id":null,"html_url":"https://github.com/Smolget/yadisk","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/Smolget%2Fyadisk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Smolget%2Fyadisk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Smolget%2Fyadisk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Smolget%2Fyadisk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Smolget","download_url":"https://codeload.github.com/Smolget/yadisk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248724629,"owners_count":21151561,"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","hacktoberfest","ruby","yandex","yandex-disk","yandex-disk-client"],"created_at":"2024-11-15T16:06:59.374Z","updated_at":"2025-04-13T14:10:56.099Z","avatar_url":"https://github.com/Smolget.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yadisk - Yandex.Disk API client (ruby gem)\n\n[![Gem Version](https://badge.fury.io/rb/yadisk-client.svg)](https://badge.fury.io/rb/yadisk-client)\n![Gem](https://img.shields.io/gem/dt/yadisk-client)\n[![Ruby specs](https://github.com/Smolget/yadisk/actions/workflows/CI.yml/badge.svg)](https://github.com/Smolget/yadisk/actions/workflows/CI.yml)\n[![Coverage Status](https://coveralls.io/repos/github/Smolget/yadisk/badge.svg?branch=master)](https://coveralls.io/github/Smolget/yadisk?branch=master)\n\n## Install\n\n```sh\n  gem install yadisk-client\n```\n\nGemfile\n\n```gemfile\n  gem 'yadisk-client', '~\u003e 1.11', '\u003e= 1.11.2'\n```\n\n## Development\n\n```sh\n  rake console\n```\n\n## Available methods\n\n\u003e **Note**\n\u003e `**params` not included in requests, but will be later  \n\u003e `**attributes` used in `update_meta` method only\n\n```ruby\n\nclient = Yadisk::Client.new(token: 'paste your token here')\n\nclient.disk.info\nclient.disk.upload(path:)\nclient.disk.upload_from_file(upload_link:, src:)\nclient.disk.upload_by_url(path:, url:)\nclient.disk.delete(path:)\nclient.disk.get_meta(path:, **params)\n\n # client.disk.update_meta(path: \"dir_or_file_path\", any_key_name: \"value\", other_key_name: \"any_value\")\nclient.disk.update_meta(path:, **attributes)\nclient.disk.create_dir(path:)\nclient.disk.copy(from:, to:)\nclient.disk.download(path:, **params)\nclient.disk.list_files(**params)\nclient.disk.last_uploaded(**params)\nclient.disk.move(from:, to:)\nclient.disk.list_public(**params)\nclient.disk.publish(path:)\nclient.disk.unpublish(path:)\n\nclient.public_resource.meta(public_key:, **params)\nclient.public_resource.link(public_key:, **params)\nclient.public_resource.save(public_key:, **params)\n\nclient.operation.status(operation_id:)\n\nclient.trash.delete(path:, **params)\nclient.trash.list(path:, **params)\nclient.trash.restore(path:)\n```\n\n## TODOs\n\n- ~~tests~~\n- examples\n- ~~readme~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmolget%2Fyadisk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmolget%2Fyadisk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmolget%2Fyadisk/lists"}