spotifyapi

Unofficial Spotify SDK for android

License

License

GroupId

GroupId

io.github.kaustubhpatange
ArtifactId

ArtifactId

spotifyapi
Last Version

Last Version

0.16
Release Date

Release Date

Type

Type

aar
Description

Description

spotifyapi
Unofficial Spotify SDK for android
Project URL

Project URL

https://github.com/KaustubhPatange/Unofficial-Spotify-SDK
Source Code Management

Source Code Management

https://github.com/KaustubhPatange/Unofficial-Spotify-SDK/tree/master

Download spotifyapi

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.kaustubhpatange/spotifyapi/ -->
<dependency>
    <groupId>io.github.kaustubhpatange</groupId>
    <artifactId>spotifyapi</artifactId>
    <version>0.16</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/io.github.kaustubhpatange/spotifyapi/
implementation 'io.github.kaustubhpatange:spotifyapi:0.16'
// https://jarcasting.com/artifacts/io.github.kaustubhpatange/spotifyapi/
implementation ("io.github.kaustubhpatange:spotifyapi:0.16")
'io.github.kaustubhpatange:spotifyapi:aar:0.16'
<dependency org="io.github.kaustubhpatange" name="spotifyapi" rev="0.16">
  <artifact name="spotifyapi" type="aar" />
</dependency>
@Grapes(
@Grab(group='io.github.kaustubhpatange', module='spotifyapi', version='0.16')
)
libraryDependencies += "io.github.kaustubhpatange" % "spotifyapi" % "0.16"
[io.github.kaustubhpatange/spotifyapi "0.16"]

Dependencies

runtime (9)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-android-extensions-runtime jar 1.3.72
org.jetbrains.kotlin : kotlin-stdlib-jdk7 jar 1.3.72
androidx.appcompat » appcompat jar 1.1.0
androidx.core » core-ktx jar 1.3.0
androidx.activity » activity-ktx jar 1.2.0-alpha05
com.spotify.android : auth jar 1.2.3
com.squareup.okhttp3 : okhttp jar 3.1.2
androidx.preference » preference jar 1.1.1
com.google.code.gson : gson jar 2.8.6

Project Modules

There are no modules declared in this project.

Unofficial-Spotify-SDK

build Maven Central

The library provides a wrapper over spotify-auth api (which is a part of official-sdk) to handle automatic authentication as well as to yield some certain routes provided by web-api.

The library only includes spotify-auth library as a part of this sdk, for spotify-app-remote you need to add it manually.

The library uses OkHttp version 3.1.2 internally to make http calls, which makes the minimum support sdk to 16.

Features

The library overcomes some limitation of official sdk, some of them are listed below.

  • A built-in way to refresh access token.
  • Some Routes to directly make a call to api (eg: TracksApi, AlbumsApi, etc).
  • Automatic generation of access token when making a routed call.
  • Automatic refreshing of access token so you don't have to do it manually.
  • Explicitly specify result callback (does not depend on calling activity's onActivityResult(), thanks to ActivityResultContract).
  • More...

Download

Library is available on mavenCentral(). Read more in docs.

 implementation 'io.github.kaustubhpatange:spotifyapi:$version'

Guides

Browse from the following topics,

Requirements

  • AndroidX
  • Min SDK 16+

License

Copyright 2020 Kaustubh Patange

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 at

   https://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.

Versions

Version
0.16
0.15
0.14
0.13
0.12
0.10
0.03
0.02