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

您现在的位置是:虫虫源码 > Java > 对于免费音乐档案简单的java API的Web服务客户端

对于免费音乐档案简单的java API的Web服务客户端

资 源 简 介

This is a freemusicarchive.org java api. Users must obtain a developer key from the website freemusicarchive.org to allow them make calls to FMA via this Java API. Usage: ``` static String API = "YOURAPIKEYGOESHERE"; FMAClient fmaclient = new FMAClient(API); // to get curators with limit = 34 NodeList nlist = fmaclient.getCurators(34); // to get track list for a specific album, where album_id = 8662 , and limit = 20 NodeList nlist = fmaclient.getTracksForAlbumID("8662", 20); // to get albums by curator, where the curator_id = 1 and limit = 10 NodeList nlist = fmaclient.getAlbumsForCuratorID("1", 10); int l = nlist.item(0).getParentNode().getChildNodes().getLength(); for (int n = 0; n < l; n++) { System.out.println(d.getElementsByTagName(FMAClient.album_title).item(n).getTextContent()); System.out.println(d.getElementsByTagName(FMAClient.album_id).item(n).getTextContent()); System.out.

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP