All Projects → Calyhre → dribbble

Calyhre / dribbble

Licence: MIT license
Simple wrapper for the Dribbble API

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to dribbble

Android Submit Credit Card Flow
💳 implementation of credit card form in material design
Stars: ✭ 628 (+1925.81%)
Mutual labels:  dribbble
Socialcounters
jQuery/PHP - Collection of Social Media APIs that display number of your social media fans. Facebook Likes, Twitter Followers, Instagram Followers, YouTube Subscribers, etc..
Stars: ✭ 104 (+235.48%)
Mutual labels:  dribbble
React Native Dribbble App
Dribbble app built with React Native
Stars: ✭ 2,019 (+6412.9%)
Mutual labels:  dribbble
Android Animated Menu Items
The example Android project of animated menu items in toolbar
Stars: ✭ 923 (+2877.42%)
Mutual labels:  dribbble
Online food app
Visit our website for more Mobile and Web applications
Stars: ✭ 68 (+119.35%)
Mutual labels:  dribbble
Mfextractcolor
🐨从图片中自动提取特征颜色
Stars: ✭ 144 (+364.52%)
Mutual labels:  dribbble
Circlebar
A fun, easy-to-use tab bar navigation controller for iOS.
Stars: ✭ 513 (+1554.84%)
Mutual labels:  dribbble
Dribbble2react
Transform Dribbble designs to React-Native code | Shop UI Kit >>
Stars: ✭ 2,443 (+7780.65%)
Mutual labels:  dribbble
Furnitureshop3d
Xamrin.Forms UI Challenge
Stars: ✭ 71 (+129.03%)
Mutual labels:  dribbble
Flutter parallax scroll
Flutter UI challenge- Parallax scroll effect
Stars: ✭ 172 (+454.84%)
Mutual labels:  dribbble
Dribbble
基于 Dribbble 的三方应用
Stars: ✭ 24 (-22.58%)
Mutual labels:  dribbble
Flutter ui challenge todo
A showcase flutter todo application.
Stars: ✭ 57 (+83.87%)
Mutual labels:  dribbble
Ios Multiselectiontable
Beautiful way of having a multi-selection table on iOS written in Swift
Stars: ✭ 156 (+403.23%)
Mutual labels:  dribbble
Mango
🏀 An Android app for dribbble.com
Stars: ✭ 659 (+2025.81%)
Mutual labels:  dribbble
Light dark toggle
An awesome flutter app which artistically animates light and dark mode 😍
Stars: ✭ 175 (+464.52%)
Mutual labels:  dribbble
Protein
🥚 An Android App for Dribbble
Stars: ✭ 598 (+1829.03%)
Mutual labels:  dribbble
Catchup
An app for catching up on things.
Stars: ✭ 1,690 (+5351.61%)
Mutual labels:  dribbble
dribbble-demo
use React + Redux and dribbble api to build this demo repo.
Stars: ✭ 40 (+29.03%)
Mutual labels:  dribbble
Flutter Task App
Flutter Task UI (Dribbble)
Stars: ✭ 180 (+480.65%)
Mutual labels:  dribbble
Circularanim
Android ripple animation helper, easy to create Circular Reveal. | Android水波动画帮助类,轻松实现View show/hide/startActivity()特效。(0.4.6)
Stars: ✭ 1,998 (+6345.16%)
Mutual labels:  dribbble

Dribbble API wrapper Gem

Gem Version

Calyhre/dribbble is an unofficial API wrapper ruby gem for Dribbble.com's API.

But, what is Dribbble?

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.

Installation

Requirements

  • Ruby ~> 2.5, use v1.2.0 for previous Ruby versions.

In a Gemfile

gem 'dribbble'

By yourself

gem install dribbble

Usage

Lets assume you have your token set:

token = 'my_access_token'

Some calls are through a client:

client = Dribbble::Client.new(token)

Projects

Find a Projects
project = Dribbble::Project.find(token, 1234)
Update a Project
project.update(name: 'Some project', description: 'Some description');
Delete a Project
project.delete

Shots

Find a shot
shot = Dribbble::Shot.find(token, 1971500)
Create a shot
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)
Update a shot
params = {
  title: 'A new shot',
  description: 'Shot description',
  tags: %w(tag1 tag2),
  team_id: 1234
}
shot.update(params)
Delete a shot
shot.delete

Shot attachments

Create an attachment
shot.create_attachment(file: File.open('attachment_path'))
Delete an attachment
shot.delete_attachment(206165)

Shot projects

List projects for a shot
projects = shot.projects

Users

Get the authenticated user
user = client.user
List authenticated user’s projects
projects = client.projects

User shots

List shots for authenticated user
shots = client.shots

Pagination & parameters

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'

Contributing

Feel free to help me make this gem awesome !

Contributors and CONTRIBUTING

Licence

Released under the MIT License. See the LICENSE file for further details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].