Skip to content

Commit

Permalink
Prepare for release v0.0.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenquadros committed May 7, 2024
1 parent e7b5c57 commit 2c34ce9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# KoVibes
KoVibes is a Kotlin wrapper for the Spotify Web API.

[![Maven Central](https://img.shields.io/maven-central/v/io.github.rubenquadros/kovibes/0.0.1)](https://central.sonatype.com/artifact/io.github.rubenquadros/kovibes/0.0.1)
[![Maven Central](https://img.shields.io/maven-central/v/io.github.rubenquadros/kovibes/0.0.2)](https://central.sonatype.com/artifact/io.github.rubenquadros/kovibes/0.0.2)
![Github Actions](https://github.com/rubenquadros/kovibes/actions/workflows/main.yml/badge.svg?branch=main)
[![codecov](https://codecov.io/github/rubenquadros/KoVibes/graph/badge.svg?token=UJ0687GJ7R)](https://codecov.io/github/rubenquadros/KoVibes)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Kotlin](https://img.shields.io/badge/Kotlin-1.9.22-blue.svg?style=flat&logo=kotlin)](https://kotlinlang.org)
[![Kotlin](https://img.shields.io/badge/Kotlin-1.9.23-blue.svg?style=flat&logo=kotlin)](https://kotlinlang.org)

## Usage :computer:
Include the dependency
Expand All @@ -25,15 +25,18 @@ implementation("io.github.rubenquadros:kovibes-jvm:{latest_version}")

`KovibesApi` is the entry class.
```kotlin
val spotifyService: SpotifyService = KoVibesApi.createSpotifyService("id", "secret")
val config: Config = Config()
val spotifyService: SpotifyService = KoVibesApi.createSpotifyService("id", "secret", config)
```

`id` is the <i>Client ID</i> and `secret` is the <i>Client Secret</i>.

`config` is used to configure the logging level. If you do not provide your config then the default one is used.

To create your <i>Client ID</i> and <i>Client Secret</i>, please follow the
[Spotify documentation][spotify-new-app-doc].

The <i>Client ID</i> and <i>Client Secret</i> is required for authentication.
The <i>Client ID</i> and the <i>Client Secret</i> is required for authentication.

`SpotifyService` is the interface which provides all the methods to fetch the Spotify data.

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Tue Feb 13 00:49:13 IST 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion kovibes/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ buildscript {
}

group = "io.github.rubenquadros"
version = "0.0.1"
version = "0.0.2"

kotlin {
applyDefaultHierarchyTemplate()
Expand Down

0 comments on commit 2c34ce9

Please sign in to comment.