Doc Contributor; Amit Kumar Saha
It has a REST API: http://del.icio.us/help/api/. Using this API you can design clients (web/desktop) to use the service. NetBeans 6.1 comes bundled with the APIs for popular web-services, which includes del.icio.us.
You may download the complete NetBeans 6.1 Beta project here.
Needless to say, you will need a del.ico.us account to follow this tutorial.
![]() |
![]() |
/*
* To change this template, choose Tools I Templates
* and open the template in the editor.
*/
package deliciousclient;
/**
*
* @author amit
*/
public class Main {
/**
* @param args the command line arguments
*/
public static void main(String[[] args) {
getPosts();
}
private static void getPosts() {
}
}
![]() |
![]() |
private static void getPosts() {
try {
String tag = "xml";
String dt = null;
String url = "";
String result = DeliciousService.getDeliciousPostsGetResource(tag, dt, url);
System.out.println("The SaasService returned: "+result);
} catch (java.io.IOException ex) {
//java.util.logging.Logger.getLogger(this.getClass().getName()).log(java.util.logging.Level.SEVERE, null, ex);
ex.printStackTrace();
}
}
![]() |
username=amitkumarsaha
password=password
Thus, we have seen how easy it is to design a del.icio.us client using NetBeans 6.1. Similarly the other APIs can also be explored!
* You can view the API documentation by a 'Right-Click' on the service name,and you will be taken to the relevant API documentation (you will need to be online for this)
![]() |
Happy NetBeaning!
| shot-1.png | ![]() |
53767 bytes |
| shot-2.png | ![]() |
42902 bytes |
| shot-4.png | ![]() |
73609 bytes |
| shot-6.png | ![]() |
32613 bytes |
| shot-7.png | ![]() |
13921 bytes |
| shot-9.png | ![]() |
70162 bytes |