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
- Host: GitHub
- URL: https://github.com/dadapush/dadapush-groovy-client
- Owner: dadapush
- Created: 2019-07-10T02:46:08.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-30T09:03:26.000Z (almost 7 years ago)
- Last Synced: 2025-03-18T04:33:10.098Z (about 1 year ago)
- Topics: dadapush, notification-api, notifications, push, push-notifications
- Language: Groovy
- Homepage: https://www.dadapush.com
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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}"
};
```