https://github.com/vonage/vonage-kotlin-code-snippets
Kotlin code samples for Vonage APIs using the Kotlin Server SDK.
https://github.com/vonage/vonage-kotlin-code-snippets
Last synced: 3 months ago
JSON representation
Kotlin code samples for Vonage APIs using the Kotlin Server SDK.
- Host: GitHub
- URL: https://github.com/vonage/vonage-kotlin-code-snippets
- Owner: Vonage
- License: mit
- Created: 2024-10-01T11:35:03.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-06T16:36:08.000Z (10 months ago)
- Last Synced: 2025-02-06T17:37:33.058Z (10 months ago)
- Language: Kotlin
- Size: 162 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Vonage Quickstart Examples for Kotlin
[](https://github.com/Vonage/vonage-kotlin-sdk/actions/workflows/build.yml)


[](CODE_OF_CONDUCT.md)
[](https://opensource.org/licenses/MIT)
[](https://developer.vonage.com/community/slack)
Kotlin code samples for [Vonage APIs](https://developer.vonage.com/en/api) using
the [Kotlin Server SDK](https://github.com/Vonage/vonage-kotlin-sdk).
These are used in the [Vonage developer portal](https://developer.vonage.com/en/documentation).
Quickstarts also available for:
- [cURL](https://github.com/Vonage/vonage-curl-code-snippets)
- [Java](https://github.com/Vonage/vonage-java-code-snippets)
- [Python](https://github.com/Vonage/vonage-python-code-snippets)
- [.NET](https://github.com/Vonage/vonage-dotnet-code-snippets)
- [Node.js](https://github.com/Vonage/vonage-node-code-snippets)
- [PHP](https://github.com/Vonage/vonage-php-code-snippets)
- [Ruby](https://github.com/Vonage/vonage-ruby-code-snippets)
## Setup
**See the [Getting Started guide](https://developer.vonage.com/en/getting-started/overview)
if you are new to Vonage for an overview.**
To use this sample you will first need a [Vonage account](https://dashboard.nexmo.com/sign-up?utm_source=DEV_REL&utm_medium=github&utm_campaign=java-client-library).
For some of the examples you may need to [buy a number](https://dashboard.nexmo.com/buy-numbers).
Most APIs will require you to [create an application](https://dashboard.nexmo.com/applications).
## Running The Examples
1. Clone or download the repo (see the green `Code` button above).
2. Open the project in your IDE - IntelliJ IDEA or Visual Studio Code are recommended.
3. Run `gradlew assemble` to build the project.
1. To work with a local copy of the SDK or any of its dependencies, run `mvn install` from the respective repo.
2. To work with a different / specific version of the SDK or any dependencies, edit the `build.gradle.kts` file.
4. Copy `.env-example` to `.env` and edit the values. The [EnvironmentVariables.kt](src/main/kotlin/com/vonage/quickstart/kt/EnvironmentVariables.kt) file is where they're loaded.
5. Use your IDE to run the examples you are interested in.
## Searchable Examples
See [SNIPPETS.md](SNIPPETS.md) for an aggregated list of all the code in this repository. You can then
Ctrl+F search this file to find what you're looking for.