Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dandandan
· 10y ago · 0 comments
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...
Comments
[–]
ewfwrfw
10y ago
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.