313 Active Lovers [Record: 1991 on 12 November, 2007]
Lost PasswordRegister
New Feature Requests
Color Forums / Site Info / New Feature Requests
Have a great idea for a new feature or hate the way something works? Let us know.
[API] Return Color Title Along With Text


ab5tract
ab5tract wrote:
2 Months Ago
*** Title should read "Along with Hex" not "Along With Text". Brain.fried? == true ***

First:
I love this site.

The Protein:
I think it would be nice to see

:colors:
:title: wood shadows :/title: :hex: 502B1B :/hex:
:/colors:

(Colon substituted for tag delimiters to pass filter)

The Postscript:
Ruby example for the API coming soon.

groutboy
groutboy wrote:
2 Months Ago
I'm intrigued! Keep us posted :)

manekinek…
manekineko wrote:
2 Months Ago
I don't get it, can't you do that already?

ab5tract
ab5tract wrote:
2 Months Ago
manekineko wrote:
I don't get it, can't you do that already?


it is easy enough to send 5 more requests, one for each hex value to #get color, but it hardly seems more efficient than a few more bytes in the initial communique. am i missing some magic?

my present blockage: not providing color titles in the same breath as hex values. 1 palette request with a few more bytes seems more optimal than requiring 5 additional HTTP interchanges for the same equivalent information

if i'm missing something crucial please explain because i;d be happy to know.

ps i'm curious about "colors" vs. "colours" in the api :)

gsmonk
gsmonk wrote:
1 Month Ago
The way the CL API works, you would have to make a request for the palette, which will return the hex values. Then, you would have to make an individual request for each color value.

The whole colour v. color is just in the name. The community's name is COLOURlovers but when they wrote the API they used "color" for everything.

    Please Log In to Add a Comment

More Colors, Palettes & Patterns
Advertise on COLOURlovers via The Deck
Latest Palettes & Patterns
Recently Active Lovers
ForumsPalettesColorsPatternsLoversBlogTrendsGroupsStoreAboutContactAPIFAQ
© 2008 Lord IV. All Rights Reserved | Privacy & Terms of Use