thresher

An unofficial API for the Grooveshark music streaming service.

Лицензия

Лицензия

Группа

Группа

co.arcs.groove
Идентификатор

Идентификатор

thresher
Последняя версия

Последняя версия

1.2.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

thresher
An unofficial API for the Grooveshark music streaming service.
Ссылка на сайт

Ссылка на сайт

https://github.com/danhawkes/thresher
Система контроля версий

Система контроля версий

https://github.com/danhawkes/thresher

Скачать thresher

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/co.arcs.groove/thresher/ -->
<dependency>
    <groupId>co.arcs.groove</groupId>
    <artifactId>thresher</artifactId>
    <version>1.2.1</version>
</dependency>
// https://jarcasting.com/artifacts/co.arcs.groove/thresher/
implementation 'co.arcs.groove:thresher:1.2.1'
// https://jarcasting.com/artifacts/co.arcs.groove/thresher/
implementation ("co.arcs.groove:thresher:1.2.1")
'co.arcs.groove:thresher:jar:1.2.1'
<dependency org="co.arcs.groove" name="thresher" rev="1.2.1">
  <artifact name="thresher" type="jar" />
</dependency>
@Grapes(
@Grab(group='co.arcs.groove', module='thresher', version='1.2.1')
)
libraryDependencies += "co.arcs.groove" % "thresher" % "1.2.1"
[co.arcs.groove/thresher "1.2.1"]

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
com.google.guava : guava jar 15.0
com.belladati : httpclientandroidlib jar 4.3.0
com.fasterxml.jackson.core : jackson-databind jar 2.2.2
com.google.code.findbugs : jsr305 jar 2.0.2

test (2)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11
org.mockito : mockito-core jar 1.9.5

Модули Проекта

Данный проект не имеет модулей.

Thresher

An unofficial API for Grooveshark, in Java.

Build Status

Download

With Maven:

<dependency>
	<groupId>co.arcs.groove</groupId>
	<artifactId>thresher</artifactId>
	<version>X.X.X</version>
</dependency>

Or Gradle:

compile 'co.arcs.groove:thresher:X.X.X'

Find the latest version on maven central.

Usage

All API requests go through a client object:

client = new Client();

Search

By keyword:

client.search("clair de lune");

For popular songs:

client.searchPopularSongs();

Stream

Get a short-lived song URL:

client.getStreamUrl(Song);

Log in

Log in to get access a user's data:

user = client.login("username", "hunter2");

List the contents of their library and favorites:

user.library().get();
user.favorites().get();

Add or remove songs:

user.library().add(song);
user.library().remove(song);
user.favorites().add(song);
user.favorites().remove(song);

Build / Test

To build and run tests against the real servers:

mvn clean test

Notes

Bug reports and pull requests are much appreciated.
Thanks to sosedoff and contributors for providing API information in their Ruby library.

Licence

Apache 2.0. See LICENCE.txt for details.

Версии библиотеки

Версия
1.2.1