资 源 简 介
Javascribd is the Java client library for the Scribd API.
It allows you to write Java applications that connect to the REST-based Scribd API.
login sample
```
ScribdClient client = new ScribdClient();
ApiKey apiKey = new ApiKey("scripdapikey");
String username = "username";
String password = "password";
Login login = new Login(apiKey, username, password);
LoginResponse response = client.execute(login);
SessionKey sessionKey = response.getSessionKey();
```
see the full source on LoginSnippet
### search sample ###
```
ScribdClient client = new ScribdClient();
ApiKey apiKey = new ApiKey("scripdapikey");
String query = "java";
Search search = new Search(apiKey, query);
search.setScope(SearchScope.ALL);
SearchResponse response = client.execute(search);
for (SearchResponse.Entry result : response.getResultSet().getEntries()