https://github.com/saschpe/android-somascrobblerapi
SomaScrobblerApi for Android
https://github.com/saschpe/android-somascrobblerapi
android android-library docker gson lastfm retrofit robolectric somafm
Last synced: 6 months ago
JSON representation
SomaScrobblerApi for Android
- Host: GitHub
- URL: https://github.com/saschpe/android-somascrobblerapi
- Owner: saschpe
- License: apache-2.0
- Created: 2017-02-18T13:13:56.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-06T15:20:49.000Z (almost 8 years ago)
- Last Synced: 2025-02-03T21:43:35.369Z (8 months ago)
- Topics: android, android-library, docker, gson, lastfm, retrofit, robolectric, somafm
- Language: Java
- Homepage: https://github.com/maxkueng/somascrobbler-api
- Size: 188 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# SomaScrobblerApi for Android
[](https://bintray.com/saschpe/maven/android-somascrobblerapi/_latestVersion)
[](http://www.apache.org/licenses/LICENSE-2.0.html)
[](https://travis-ci.org/saschpe/android-versioninfo)Android client library for [SomaScrobbler API][somascrob]. The test-suite
defaults to the official deployment at [api.somascrobbler.com][somascrob-api].# Usage
```java
SomaScrobblerApi api = new SomaScrobblerApi(new SomaScrobblerApi.Settings.Builder()
.setEndpoint("https://api.somascrobbler.com/")
.build());Version version = api.getVersion();
Stats stats = api.getStats();
Map stations = api.getStations();
NowPlaying nowPlaying = api.getNowPlaying("groovesalad");
```# Download
```groovy
compile 'saschpe.android:somascrobblerapi:1.1.1'
```Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap].
# License
Copyright 2017 Sascha Peilicke
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.[somascrob]: https://github.com/maxkueng/somascrobbler-api
[somascrob-api]: https://api.somascrobbler.com/
[snap]: https://oss.sonatype.org/content/repositories/snapshots/