An open API service indexing awesome lists of open source software.

https://github.com/dadapush/dadapush-groovy-client

DaDaPush Client For Groovy
https://github.com/dadapush/dadapush-groovy-client

dadapush notification-api notifications push push-notifications

Last synced: 10 months ago
JSON representation

DaDaPush Client For Groovy

Awesome Lists containing this project

README

          

# 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](https://http-builder-ng.github.io/http-builder-ng/), is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) 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](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

```groovy
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}"
};
```