Skip to content

Commit

Permalink
updated readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nulllvoid committed Mar 28, 2023
1 parent f19893a commit afab542
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@ Maven users
...
<repository>
<id>sonatype</id>
<url>https://s01.oss.sonatype.org/content/repositories/releases/</url>
<url>https://s01.oss.sonatype.org/content/repositories/releases/</url> // for release
or
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url> // for snapshot
</repository>
</repositories>
// add dependency
<dependency>
<groupId>io.github.crashiv</groupId>
<artifactId>novu-kotlin</artifactId>
<version>latest-version</version>
<version>1.0-SNAPSHOT</version>
</dependency>
```
Then run `mnv install`.
Expand All @@ -28,6 +30,7 @@ Gradle users
```gradle
//Add sonatype release repositories
repositories {
...
maven { url "https://s01.oss.sonatype.org/content/repositories/releases/" }
}
Expand All @@ -42,11 +45,8 @@ then run `gradlew build`
To use the library, first initialize the client with your API token:

```kotlin
val config = NovuConfig(backendUrl = "https://api.novu.co/v1")

val config = NovuConfig(backendUrl = "https://api.novu.co/v1/")
val novu = Novu("API_KEY",config)


```

You can then call methods on the client to interact with the Novu API:
Expand Down

0 comments on commit afab542

Please sign in to comment.