Skip to content
DaDaPush Client For Kotlin
Kotlin Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.openapi-generator
docs
src
.gitignore
.openapi-generator-ignore
README.md
build.gradle
git_push.sh
gradlew
gradlew.bat
settings.gradle

README.md

com.dadapush.client - Kotlin client library for DaDaPush Public API

Requires

  • Kotlin 1.3.41
  • Gradle 5.0

Build

First, create the gradle wrapper script:

gradle wrapper

Then, run:

./gradlew check assemble

This runs all tests and packages the library.

Features/Implementation Notes

  • Supports JSON inputs/outputs, File inputs, and Form inputs.
  • Supports collection formats for query parameters: csv, tsv, ssv, pipes.
  • Some Kotlin and Java types are fully qualified to avoid conflicts with types defined in OpenAPI definitions.
  • Implementation of ApiClient is intended to reduce method counts, specifically to benefit Android targets.

Documentation for API Endpoints

All URIs are relative to https://www.dadapush.com

Class Method HTTP request Description
DaDaPushMessageApi createMessage POST /api/v1/message push Message to a Channel
DaDaPushMessageApi deleteMessage DELETE /api/v1/message/{messageId} delete a Channel Message
DaDaPushMessageApi getMessage GET /api/v1/message/{messageId} get a Channel Message
DaDaPushMessageApi getMessages GET /api/v1/messages get Message List

Documentation for Models

You can’t perform that action at this time.