Project

kuler

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Kuler is a fun little webapp that allows you to discover, explore, and share color themes. This is a Ruby library to access the Kuler service. To use Kuler, you'll need an API key, which you can obtain from Adobe at http://kuler.adobe.com/api
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 2.6.0
~> 0.9.8
>= 2.0.3

Runtime

~> 1.4.1
 Project Readme

kuler¶ ↑

DESCRIPTION¶ ↑

Kuler is a fun little webapp that allows you to discover, explore, and share color themes. This is a Ruby library to access the Kuler service.

To use Kuler, you’ll need an API key, which you can obtain from Adobe at kuler.adobe.com/api

FEATURES/PROBLEMS¶ ↑

  • retrieve color themes from Kuler:

    • most recent themes

    • most popular

    • highest rated

    • random

SYNOPSIS¶ ↑

Set up a new Kuler instance with your API key:

kuler = Kuler.new( 'your api key' )

# ... or ...

kuler = Kuler.new
kuler.api_key = 'your api key'

… then, grab a random color theme:

theme = kuler.fetch_random_theme

… and inspect the color theme:

theme.hex_codes
=> [ "#ff0000", "#00ff00", "#0000ff", "#ffff00", "#ff00ff" ]

For more, check out the rdoc.

REQUIREMENTS¶ ↑

For users:

* nokogiri

For developers:

* hoe
* hoe-doofus
* hoe-git
* mocha

INSTALL¶ ↑

  • gem install kuler

LICENSE¶ ↑

kuler is copyright © 2010 Ben Bleything, and distributed under the terms of the MIT license. See the LICENSE file for details.