Git Product home page Git Product logo

dribbble's Introduction

dribbble

Build Status

A simple Python wrapper for the Dribbble API.

Installation

The easiest way to get the API is by using pip:

pip install dribbble

Usage

The dribbble wrapper intends to make the API as easy to use as possible.

>>> import dribbble as d

# Get info on a player
>>> d.info('simplebits')

# Alternative, cooler name for getting info
>>> d.scout('simplebits')

# See the current community shots
>>> d.shots('popular')
>>> d.shots('everyone')
>>> d.shots('debut')

# Pagination and up to 30 shots at a time.
>>> d.shots('popular', count=30, page=2)

# Get shots for a player
>>> d.shots('simplebits')
>>> d.player('simplebits')

# Get information on a particular shot
>>> d.shot(1234)

# See a particular shot's rebounds
>>> d.rebounds(591065)

# Get comments on a shot
>>> d.comments(607332)

# See the likes for a player
>>> d.likes('simplebits')

# Get the followers of a player
>>> d.followers('lobanovskiy')

# See who a player is following
>>> d.following('simplebits')
>>> d.teammates('vi')

# Get recent shots from the players a player is following
>>> d.scoreboard('simplebits')

# See who a given player has drafted
>>> d.draftees('CreatureBox')

# Get the Twitter username of a player
>>> d.twitter('vi')

If you have lxml installed, there are two additional functions, as well.

# Check to see if a shot has attachments
>>> d.attachments(535565)

# See if a shot has PSD attachments
>>> d.psd(607070)

dribbble's People

Contributors

zachwill avatar prydonius avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.