From the API news department...

del.icio.us API over https

My linkblog recently broke for a bit. It's powered by del.icio.us and a bit of curl and Perl. Luckily Toby pinged me to say "hey dumbass, fix your script..." Why? There's a new API in place.

The new API is pretty much the same, except that it's now accessible via https rather than http and it versioned as well. So my old "fetch all bookmarks" script looked like this:

curl --silent --user jzawodn:mypassword -o links.xml.$$ \
  -O 'http://del.icio.us/api/posts/all'

and it now looks like this:

curl --silent --user jzawodn:mypassword -o links.xml.$$ \
  -O 'https://api.del.icio.us/v1/posts/all'

And now I see that running curl with –slient and without –L was a bad idea. Lesson learned.

I also got a sneak peak at version 2.0 of the API and really like what I see. del.icio.us is really going to be a killer bookmarking/tagging platform what that stuff ships.

Answers API Launched

Yahoo! Answers also got API'd today. Using the Answers API, you can search questions based on keywords, get details, and so on. Check out the "Try It Now" interactive thingy that Kent put together on the documentation page.

I can't imagine trying to do that with SOAP. :-)

As with other stuff, you can get responses back as XML, PHP, or JSON.

The API is fairly basic and read-only for now, but there's more work going on behind the scenes. If you encounter bugs, let us know.

Posted by jzawodn at August 15, 2006 04:45 PM

Reader Comments
# jim said:

can't wait to see the blo.gs api.

(someone should go in and drop the 'recommend' table that got created in the blogs database on one of the database servers, since it is preventing the temporary table from being created on the front page for logged-in users.)

on August 15, 2006 08:30 PM
# George Luft said:

Jeremy, you mention in passing a while ago that you might share your linkblog methods. Do you have any plans to do so?

http://jeremy.zawodny.com/blog/archives/001085.html

What do you do with that XML file once you grab it from del.icio.us?

on August 15, 2006 09:41 PM
# pwb said:

Still not sold on Delicious. Is anyone going to use this beyond a handful of geeks? (And, yes, by "handful", I mean a couple hundered thousand)

on August 16, 2006 01:12 AM
# Ankur said:

"I can't imagine trying to do that with SOAP. :-)"
Rest really makes things so very simple ... even if u dont hv a SDK for ur language. I used couple of yahoo web services in my college project here
http://ankur.wordpress.com/2006/08/18/beanbag-my-sixth-semester-project/

on August 23, 2006 02:26 AM
# Pete Prodoehl said:

Ugh, I too learned recently not to run curl with –slient and without –L, and like you, del.icio.us was the teacher...

on August 28, 2006 12:47 PM
Disclaimer: The opinions expressed here are mine and mine alone. My current, past, or previous employers are not responsible for what I write here, the comments left by others, or the photos I may share. If you have questions, please contact me. Also, I am not a journalist or reporter. Don't "pitch" me.

 

Privacy: I do not share or publish the email addresses or IP addresses of anyone posting a comment here without consent. However, I do reserve the right to remove comments that are spammy, off-topic, or otherwise unsuitable based on my comment policy. In a few cases, I may leave spammy comments but remove any URLs they contain.