
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Calyhre/dribbble is an unofficial API wrapper ruby gem for Dribbble.com's API.
What are you working on? Dribbble is a community of designers answering that question each day. Web designers, graphic designers, illustrators, icon artists, typographers, logo designers, and other creative types share small screenshots (shots) that show their work, process, and current projects.
~> 2.2.5
, use v1.0.4
for previous Ruby versions.gem 'dribbble'
gem install dribbble
Lets assume you have your token set:
token = 'my_access_token'
Some calls are through a client:
client = Dribbble::Client.new(token)
project = Dribbble::Project.find(token, 1234)
project.update(name: 'Some project', description: 'Some description');
project.delete
shot = Dribbble::Shot.find(token, 1971500)
params = {
title: 'A new shot',
description: 'Shot description',
image: File.open('/path/to/image.png'),
tags: %w(tag1 tag2),
team_id: 1234,
rebound_source_id: 1234
}
shot = Dribbble::Shot.create(token, params)
params = {
title: 'A new shot',
description: 'Shot description',
tags: %w(tag1 tag2),
team_id: 1234
}
shot.update(params)
shot.delete
shot.create_attachment(file: File.open('attachment_path'))
shot.delete_attachment(206165)
projects = shot.projects
user = client.user
projects = client.projects
shots = client.shots
All requests are paginated, defaults params are :
Param | Default |
---|---|
page | 1 |
per_page | 100 |
You override them or adding some by passing a Hash
to every request :
user.shots page: 2, custom_param: 'My param'
Feel free to help me make this gem awesome !
Released under the MIT License. See the LICENSE file for further details.
FAQs
Unknown package
We found that dribbble demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.