{"id":21560687,"url":"https://github.com/dadapush/dadapush-ruby-client","last_synced_at":"2025-03-18T04:27:54.710Z","repository":{"id":45475941,"uuid":"196120124","full_name":"dadapush/dadapush-ruby-client","owner":"dadapush","description":"DaDaPush Client For Ruby","archived":false,"fork":false,"pushed_at":"2021-12-12T05:16:38.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T11:13:56.401Z","etag":null,"topics":["dadapush","notification-api","notifications","push","push-notifications"],"latest_commit_sha":null,"homepage":"https://www.dadapush.com","language":"Ruby","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-10T02:57:57.000Z","updated_at":"2021-12-12T05:16:38.000Z","dependencies_parsed_at":"2022-07-15T04:46:47.030Z","dependency_job_id":null,"html_url":"https://github.com/dadapush/dadapush-ruby-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-ruby-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadapush%2Fdadapush-ruby-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadapush%2Fdadapush-ruby-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadapush%2Fdadapush-ruby-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dadapush","download_url":"https://codeload.github.com/dadapush/dadapush-ruby-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244155777,"owners_count":20407418,"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:50.760Z","updated_at":"2025-03-18T04:27:54.671Z","avatar_url":"https://github.com/dadapush.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dadapush_client\n\nDaDaPushClient - the Ruby gem for the DaDaPush Public API\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\nThis SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:\n\n- API version: v1\n- Package version: 1.0.0\n- Build package: org.openapitools.codegen.languages.RubyClientCodegen\nFor more information, please visit [https://www.dadapush.com](https://www.dadapush.com)\n\n## Installation\n\n### Build a gem\n\nTo build the Ruby code into a gem:\n\n```shell\ngem build dadapush_client.gemspec\n```\n\nThen either install the gem locally:\n\n```shell\ngem install ./dadapush_client-1.0.0.gem\n```\n\n(for development, run `gem install --dev ./dadapush_client-1.0.0.gem` to install the development dependencies)\n\nor publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).\n\nFinally add this to the Gemfile:\n\n    gem 'dadapush_client', '~\u003e 1.0.0'\n\n### Install from Git\n\nIf the Ruby gem is hosted at a git repository: https://github.com/dadapush/dadapush-ruby-client, then add the following in the Gemfile:\n\n    gem 'dadapush_client', :git =\u003e 'https://github.com/dadapush/dadapush-ruby-client.git'\n\n### Include the Ruby code directly\n\nInclude the Ruby code directly using `-I` as follows:\n\n```shell\nruby -Ilib script.rb\n```\n\n## Getting Started\n\nPlease follow the [installation](#installation) procedure and then run the following code:\n\n```ruby\n# Load the gem\nrequire 'dadapush_client'\n\napi_instance = DaDaPushClient::DaDaPushMessageApi.new\nbody = DaDaPushClient::MessagePushRequest.new # MessagePushRequest | body\nopts = {\n  x_channel_token: 'x_channel_token_example' # String | see: https://www.dadapush.com/channel/list\n}\n\nbegin\n  #push Message to a Channel\n  result = api_instance.create_message(body, opts)\n  p result\nrescue DaDaPushClient::ApiError =\u003e e\n  puts \"Exception when calling DaDaPushMessageApi-\u003ecreate_message: #{e}\"\nend\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*DaDaPushClient::DaDaPushMessageApi* | [**create_message**](docs/DaDaPushMessageApi.md#create_message) | **POST** /api/v1/message | push Message to a Channel\n*DaDaPushClient::DaDaPushMessageApi* | [**delete_message**](docs/DaDaPushMessageApi.md#delete_message) | **DELETE** /api/v1/message/{messageId} | delete a Channel Message\n*DaDaPushClient::DaDaPushMessageApi* | [**get_message**](docs/DaDaPushMessageApi.md#get_message) | **GET** /api/v1/message/{messageId} | get a Channel Message\n*DaDaPushClient::DaDaPushMessageApi* | [**get_messages**](docs/DaDaPushMessageApi.md#get_messages) | **GET** /api/v1/messages | get Message List\n\n\n## Documentation for Models\n\n - [DaDaPushClient::Action](docs/Action.md)\n - [DaDaPushClient::MessageObject](docs/MessageObject.md)\n - [DaDaPushClient::MessagePushRequest](docs/MessagePushRequest.md)\n - [DaDaPushClient::MessagePushResponse](docs/MessagePushResponse.md)\n - [DaDaPushClient::PageResponseOfMessageObject](docs/PageResponseOfMessageObject.md)\n - [DaDaPushClient::Result](docs/Result.md)\n - [DaDaPushClient::ResultOfMessageObject](docs/ResultOfMessageObject.md)\n - [DaDaPushClient::ResultOfMessagePushResponse](docs/ResultOfMessagePushResponse.md)\n - [DaDaPushClient::ResultOfPageResponseOfMessageObject](docs/ResultOfPageResponseOfMessageObject.md)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadapush%2Fdadapush-ruby-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdadapush%2Fdadapush-ruby-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadapush%2Fdadapush-ruby-client/lists"}