Yadisk
Yandex.Disk API client (ruby gem)
Install / Use
/learn @Smolget/YadiskREADME
Yadisk - Yandex.Disk API client (ruby gem)
Install
gem install yadisk-client
Gemfile
gem 'yadisk-client', '~> 1.11', '>= 1.11.2'
Development
rake console
Available methods
Note
**paramsnot included in requests, but will be later
**attributesused inupdate_metamethod only
client = Yadisk::Client.new(token: 'paste your token here')
client.disk.info
client.disk.upload(path:)
client.disk.upload_from_file(upload_link:, src:)
client.disk.upload_by_url(path:, url:)
client.disk.delete(path:)
client.disk.get_meta(path:, **params)
# client.disk.update_meta(path: "dir_or_file_path", any_key_name: "value", other_key_name: "any_value")
client.disk.update_meta(path:, **attributes)
client.disk.create_dir(path:)
client.disk.copy(from:, to:)
client.disk.download(path:, **params)
client.disk.list_files(**params)
client.disk.last_uploaded(**params)
client.disk.move(from:, to:)
client.disk.list_public(**params)
client.disk.publish(path:)
client.disk.unpublish(path:)
client.public_resource.meta(public_key:, **params)
client.public_resource.link(public_key:, **params)
client.public_resource.save(public_key:, **params)
client.operation.status(operation_id:)
client.trash.delete(path:, **params)
client.trash.list(path:, **params)
client.trash.restore(path:)
TODOs
- ~~tests~~
- examples
- ~~readme~~
Related Skills
node-connect
343.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
92.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
