首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 客户端库的Java API for the Scribd

客户端库的Java API for the Scribd

  • 资源大小:403.70 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: java Library REST scribd

资 源 简 介

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()

文 件 列 表

javascribd
build.version
javascribd-docs.jar
javascribd-src.jar
javascribd.jar
lgpl.txt
license.txt
readme.txt
VIP VIP
0.178613s