If you're interested in this kind of API, http://www.colr.org has one too.
Cool! Yeah, I like having enormous lists of color palettes for doing algorithmic art. I will definitely hit up the colr API and the colourlovers one posted above too.
Re:LOL Colors: Curated Color Palettes
by glossyscr on Tuesday February 23, 2016 @12:35PM
(#11160610)
how did you do this?
I inserted some JS code via the console that scrolls to the bottom of the page whenever the 'collection-assets' div changed, waited, ran observer.disconnect() as my browser was crashing to a halt, and then saved the HTML and combed through it with regexes.
var target = document.querySelector('.collection-assets');
var observer = new MutationObserver(function() {
window.scrollTo(0,document.body.scrollHeight);
});
var config = { childList: true };
observer.observe(target, config);
Re:LOL Colors: Curated Color Palettes
by dandandan on Tuesday February 23, 2016 @11:28PM
(#11164576)
The API just returns JSON; paging through that is much cleaner than hooking into events and parsing HTML with regex.
https://color.adobe.com/api/v2/themes?filter=public&startInd...
Re:LOL Colors: Curated Color Palettes
by ewfwrfw on Wednesday February 24, 2016 @02:02AM
(#11165047)
Right, I tried that first but I couldn't actually get it to return any data. I think I was screwing up the request headers. Now though I remembered the Firebug "copy as cURL" thing and it's working, so yeah, definitely a better way to do it.
The API is undocumented and restricted it seems, but I did manage to get the first 5000 or so color palettes before my browser crashed:
http://pasted.co/38096f65