Discussions

Qcolourlovers api

hello,
i have this code http://jsdo.it/teetteet/3jdf
can anyone help me integrate the colourlovers api into this code?
i have a code here http://jsdo.it/teetteet/rZiG
which is grapping colours from colourlovers schemes.

Sample Code

AAnswer to: colourlovers api

ethertank

Please access to URLs below, and check them.

1, [XML]
http://www.colourlovers.com/api/palettes/random

2, [format=json]
http://www.colourlovers.com/api/palettes/random?format=json

3, [format=json] + [jsonCallback=FunctionName]
http://www.colourlovers.com/api/palettes/random?format=json&jsonCallback=callBackFromJSON

If you load JSON with URL parameter for name of callback function,
then you can use callback function.

More info: http://www.colourlovers.com/api

Good luck! ;-)

teetteet

thanks for the help!
kind regards

Post a question

You can post JavaScript, HTML, CSS related questions with attached reference to actual codes and get the answers likewise.

Ask a question

  • 1. Click the ‘Post a question’ above

  • 2. Enter question details, reference code, and click ‘Add question’ button

  • 3. Question will be paired with the code on display

Add an answer

  • 1. Choose a question

  • 2. Enter answer details, attach the reference code and click ‘add answer’ button

  • 3. Your answer will accompanied with attached code

Tag