Skip to content
DaDaPush Client For Groovy
Groovy 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
src
.gitignore
.openapi-generator-ignore
README.md
build.gradle
git_push.sh
gradlew
gradlew.bat

README.md

DaDaPush Groovy Client

DaDaPush: Real-time Notifications App

Send real-time notifications through our API without coding and maintaining your own app for iOS or Android devices.

This Groovy package, using the http-builder-ng library, is automatically generated by the OpenAPI Generator project:

  • API version: v1
  • Package version: 1.0.0
  • Build date: 2019-07-10T22:05:40.468806+08:00[Asia/Shanghai]
  • Build package: org.openapitools.codegen.languages.GroovyClientCodegen For more information, please visit https://www.dadapush.com

Requirements

  • Groovy 2.5.7
  • Gradle 4.9

Build

First, create the gradle wrapper script:

gradle wrapper

Then, run:

./gradlew check assemble

Getting Started

def apiInstance = new DaDaPushMessageApi()
def body = new MessagePushRequest() // MessagePushRequest | body
def xChannelToken = "xChannelToken_example" // String | see: https://www.dadapush.com/channel/list

apiInstance.createMessage(body, xChannelToken)
    {
    // on success
    def result = (ResultOfMessagePushResponse)it
    println result
    
}
    {
    // on failure
    statusCode, message ->
        println "${statusCode} ${message}"
};
You can’t perform that action at this time.