Skip to content

nuntly/nuntly-sdk-java-examples

Repository files navigation

Nuntly SDK Java Examples

This repository contains example projects demonstrating how to use the Nuntly SDK in Java applications quickly and efficiently.

Project Structure

  • app/ - Main application module containing example usage of the Nuntly SDK.
    • src/main/java/com/nuntly/ - Java source files for examples.
    • src/main/resources/com/nuntly/ - Resource files for examples.
    • build.gradle.kts - Gradle build script for the app module.
  • gradle/ - Gradle wrapper and version configuration.
  • build/ - Build output and reports.
  • settings.gradle.kts - Gradle settings file.
  • gradle.properties - Gradle properties file.

Getting Started

Prerequisites

  • Java 8 or higher
  • Gradle (wrapper included)

Run

To run the example application:

# Set your Nuntly API key (replace with your actual key)
export NUNTLY_API_KEY=ntly_xxxx_xxxx

# Run the default Main example
./gradlew :app:run

# Run a specific example (e.g., AccountExample)
./gradlew :app:run -Pexample=Account

# Run the ApiKeysGet example with arguments
./gradlew :app:run -Pexample=apikeys.ApiKeysGet --args="apk_xxxx"

# Run the EmailsSendExample example
./gradlew :app:run -Pexample=EmailsSend

Refer to the source code in app/src/main/java/com/nuntly/examples for detailed usage.

Contributing

Contributions are welcome! Please open issues or submit pull requests for improvements or new examples.

Resources

About

Nuntly SDK Java Examples

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages