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

您现在的位置是:虫虫源码 > Java > BandsInTown API service interface

BandsInTown API service interface

  • 资源大小:1.13 MB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

Java library that makes it convenient to perform service calls to BandsInTown to retrieve concert events data through the BandsInTown API. Sample: ``` RecommendedRequest bandsService = new RecommendedRequest(); bandsService.setApplicationId("my-application-id"); bandsService.setLocation("San Diego,CA"); bandsService.setRadius(50); List artistsByName = new ArrayList(); artistsByName.add("Christina Aguilera"); artistsByName.add("Lil" Wayne"); artistsByName.add("britney spears"); bandsService.setArtists(artistsByName); try { BandsInTownResponse response = bandsService.callService(); List events = response.getEvents(); for (Event event : events) { // process each event } } catch (ServiceException e) { ErrorResponse error = e.getErrorResponse(); if (error != null) { // error is request constraint failure int i = 1; for (String errorMsg : error.getErrors()) { System.err.println("

文 件 列 表

javadocs
allclasses-frame.html
allclasses-noframe.html
com
constant-values.html
deprecated-list.html
help-doc.html
index-all.html
index.html
overview-frame.html
overview-summary.html
overview-tree.html
package-list
resources
serialized-form.html
stylesheet.css
bandsintown.properties
bandsintown-java-1.2.0.jar
bandsintown-java-1.2.0-javadoc.jar
bandsintown-java-1.2.0-sources.jar
LICENSE.txt
README.txt
dependencies
junit-4.5.jar
log4j-1.2.15.jar
xpp3_min-1.1.4c.jar
xstream-1.3.1.jar
VIP VIP
0.184022s