A设置列表.fmAPI包装。

repertorio的Python项目详细描述


https://travis-ci.org/jtmolon/repertorio.svg?branch=masterhttps://coveralls.io/repos/github/jtmolon/repertorio/badge.svg?branch=master

repertio是一个用于Python的setlist.fmAPI包装器。它提供了一个查询集合列表.fm终结点并查找艺术家、场地、集合列表等。在

有关集合列表.fmAPI,请参考documentation。在

有关完整文档,请参阅Repertorio documentation。在

使用

from repertorio import Repertorio
api = Repertorio('setlistfm-api-key')
api.artists(artistName='alice', sort='relevance')

搜索终结点

如果匹配,API搜索端点返回多个结果,并需要关键字参数来执行查询。有关支持的关键字参数和响应格式的详细信息,请参阅API documentation。在

^{pr2}$

资源终结点

API资源终结点返回单个结果,因此需要“主键”参数来执行查询。有关详细信息,请参阅API documentation。在

api.artist('artist-mbid')
api.artist_setlists('artist-mbid')
api.city('city-geoId')
api.setlist('setlistId')
api.setlist_version('versionId')
api.user('userId')
api.user_attended('userId')
api.user_edited('userId')
api.venue('venueId')
api.venue_setlists('venueId')

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何在href中将struts2文本字段的值作为参数传递?   java检查对象属性是否为空的最佳方法是什么?   java通过Maven使用Junit类别运行Cucumber测试   java如何在selenium Webdriver(Mac)中使用Robot类上传多个文件?   如何用python绘制图形或将python转换为java和Matlab?   java Osgi捆绑包更新和ResourceBundle   java使用流api将流<@Nullable T>转换为流<@NonNull T>   java中EXCEL的平台无关连接字符串   JavaFX中的java表   java Jetty线程池和sun。HttpServer会话   JPA存储库bean的java Spring注入无法工作NullPointerException   java从另一个Kubernetes作业触发Kubernetes   我的java netbeans抽奖计划需要帮助吗   泛型中的java有界类型无法扩展另一个有界类型   如果混合使用全局构建和概要文件构建,java cxfcodegenplugin会生成错误代码   封装SQL平台之间差异的java策略?