{"id":21560679,"url":"https://github.com/dadapush/dadapush-java-client","last_synced_at":"2025-08-23T03:38:41.381Z","repository":{"id":39956539,"uuid":"196035568","full_name":"dadapush/dadapush-java-client","owner":"dadapush","description":"DaDaPush Client For Java","archived":false,"fork":false,"pushed_at":"2022-09-29T05:47:59.000Z","size":117,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T11:13:55.736Z","etag":null,"topics":["dadapush","notification-api","notifications","push","push-notifications"],"latest_commit_sha":null,"homepage":"https://www.dadapush.com","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dadapush.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-09T15:25:59.000Z","updated_at":"2022-09-29T05:47:50.000Z","dependencies_parsed_at":"2022-09-11T21:44:37.868Z","dependency_job_id":null,"html_url":"https://github.com/dadapush/dadapush-java-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadapush%2Fdadapush-java-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadapush%2Fdadapush-java-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadapush%2Fdadapush-java-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadapush%2Fdadapush-java-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dadapush","download_url":"https://codeload.github.com/dadapush/dadapush-java-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244155763,"owners_count":20407416,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dadapush","notification-api","notifications","push","push-notifications"],"created_at":"2024-11-24T09:16:49.367Z","updated_at":"2025-03-18T04:27:52.680Z","avatar_url":"https://github.com/dadapush.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dadapush-client\n\nDaDaPush Public API\n- API version: v1\n  - Build date: 2019-07-10T21:57:17.209285+08:00[Asia/Shanghai]\n\nDaDaPush: Real-time Notifications App\n\nSend real-time notifications through our API without coding and maintaining your own app for iOS or Android devices.\n\n  For more information, please visit [https://www.dadapush.com](https://www.dadapush.com)\n\n*Automatically generated by the [OpenAPI Generator](https://openapi-generator.tech)*\n\n\n## Requirements\n\nBuilding the API client library requires:\n1. Java 1.7+\n2. Maven/Gradle\n\n## Installation\n\n### Maven users\n\nAdd this dependency to your project's POM:\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.dadapush.client\u003c/groupId\u003e\n  \u003cartifactId\u003edadapush-client\u003c/artifactId\u003e\n  \u003cversion\u003e1.0.0\u003c/version\u003e\n  \u003cscope\u003ecompile\u003c/scope\u003e\n\u003c/dependency\u003e\n```\n\n### Gradle users\n\nAdd this dependency to your project's build file:\n\n```groovy\ncompile \"com.dadapush.client:dadapush-client:1.0.0\"\n```\n\n### Others\n\nAt first generate the JAR by executing:\n\n```shell\nmvn clean package\n```\n\nThen manually install the following JARs:\n\n* `target/dadapush-client-1.0.0.jar`\n* `target/lib/*.jar`\n\n## Getting Started\n\nPlease follow the [installation](#installation) instruction and execute the following Java code:\n\n```java\n\n// Import classes:\nimport com.dadapush.client.ApiClient;\nimport com.dadapush.client.ApiException;\nimport com.dadapush.client.Configuration;\nimport com.dadapush.client.models.*;\nimport com.dadapush.client.api.DaDaPushMessageApi;\n\npublic class Example {\n  public static void main(String[] args) {\n    ApiClient defaultClient = Configuration.getDefaultApiClient();\n    defaultClient.setBasePath(\"https://www.dadapush.com\");\n\n    DaDaPushMessageApi apiInstance = new DaDaPushMessageApi(defaultClient);\n    MessagePushRequest body = new MessagePushRequest(); // MessagePushRequest | body\n    String xChannelToken = \"xChannelToken_example\"; // String | see: https://www.dadapush.com/channel/list\n    try {\n      ResultOfMessagePushResponse result = apiInstance.createMessage(body, xChannelToken);\n      System.out.println(result);\n    } catch (ApiException e) {\n      System.err.println(\"Exception when calling DaDaPushMessageApi#createMessage\");\n      System.err.println(\"Status code: \" + e.getCode());\n      System.err.println(\"Reason: \" + e.getResponseBody());\n      System.err.println(\"Response headers: \" + e.getResponseHeaders());\n      e.printStackTrace();\n    }\n  }\n}\n\n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *https://www.dadapush.com*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*DaDaPushMessageApi* | [**createMessage**](docs/DaDaPushMessageApi.md#createMessage) | **POST** /api/v1/message | push Message to a Channel\n*DaDaPushMessageApi* | [**deleteMessage**](docs/DaDaPushMessageApi.md#deleteMessage) | **DELETE** /api/v1/message/{messageId} | delete a Channel Message\n*DaDaPushMessageApi* | [**getMessage**](docs/DaDaPushMessageApi.md#getMessage) | **GET** /api/v1/message/{messageId} | get a Channel Message\n*DaDaPushMessageApi* | [**getMessages**](docs/DaDaPushMessageApi.md#getMessages) | **GET** /api/v1/messages | get Message List\n\n\n## Documentation for Models\n\n - [Action](docs/Action.md)\n - [MessageObject](docs/MessageObject.md)\n - [MessagePushRequest](docs/MessagePushRequest.md)\n - [MessagePushResponse](docs/MessagePushResponse.md)\n - [PageResponseOfMessageObject](docs/PageResponseOfMessageObject.md)\n - [Result](docs/Result.md)\n - [ResultOfMessageObject](docs/ResultOfMessageObject.md)\n - [ResultOfMessagePushResponse](docs/ResultOfMessagePushResponse.md)\n - [ResultOfPageResponseOfMessageObject](docs/ResultOfPageResponseOfMessageObject.md)\n\n\n## Recommendation\n\nIt's recommended to create an instance of `ApiClient` per thread in a multithreaded environment to avoid any potential issues.\n\n## Author\n\ncontacts@dadapush.com\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadapush%2Fdadapush-java-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdadapush%2Fdadapush-java-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadapush%2Fdadapush-java-client/lists"}