{"id":21560712,"url":"https://github.com/dadapush/dadapush-csharp-client","last_synced_at":"2025-03-18T04:27:58.514Z","repository":{"id":38072315,"uuid":"196125861","full_name":"dadapush/dadapush-csharp-client","owner":"dadapush","description":"DaDaPush Client For Csharp","archived":false,"fork":false,"pushed_at":"2022-12-08T04:30:58.000Z","size":69,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T11:13:59.332Z","etag":null,"topics":["dadapush","notification-api","notifications","push","push-notifications"],"latest_commit_sha":null,"homepage":"https://www.dadapush.com","language":"C#","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-10T03:36:48.000Z","updated_at":"2022-09-29T05:47:37.000Z","dependencies_parsed_at":"2023-01-24T10:30:21.277Z","dependency_job_id":null,"html_url":"https://github.com/dadapush/dadapush-csharp-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-csharp-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadapush%2Fdadapush-csharp-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadapush%2Fdadapush-csharp-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadapush%2Fdadapush-csharp-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dadapush","download_url":"https://codeload.github.com/dadapush/dadapush-csharp-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244155790,"owners_count":20407419,"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:53.542Z","updated_at":"2025-03-18T04:27:58.485Z","avatar_url":"https://github.com/dadapush.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Com.DaDaPush.Client - the C# library 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 C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:\n\n- API version: v1\n- SDK version: 1.0.0\n- Build package: org.openapitools.codegen.languages.CSharpClientCodegen\n    For more information, please visit [https://www.dadapush.com](https://www.dadapush.com)\n\n## Frameworks supported\n\n\n- .NET 4.0 or later\n- Windows Phone 7.1 (Mango)\n\n## Dependencies\n\n\n- [RestSharp](https://www.nuget.org/packages/RestSharp) - 105.1.0 or later\n- [Json.NET](https://www.nuget.org/packages/Newtonsoft.Json/) - 7.0.0 or later\n- [JsonSubTypes](https://www.nuget.org/packages/JsonSubTypes/) - 1.2.0 or later\n\nThe DLLs included in the package may not be the latest version. We recommend using [NuGet](https://docs.nuget.org/consume/installing-nuget) to obtain the latest version of the packages:\n\n```\nInstall-Package RestSharp\nInstall-Package Newtonsoft.Json\nInstall-Package JsonSubTypes\n```\n\nNOTE: RestSharp versions greater than 105.1.0 have a bug which causes file uploads to fail. See [RestSharp#742](https://github.com/restsharp/RestSharp/issues/742)\n\n## Installation\n\nRun the following command to generate the DLL\n\n- [Mac/Linux] `/bin/sh build.sh`\n- [Windows] `build.bat`\n\nThen include the DLL (under the `bin` folder) in the C# project, and use the namespaces:\n\n```csharp\nusing Com.DaDaPush.Client.Api;\nusing Com.DaDaPush.Client.Client;\nusing Com.DaDaPush.Client.Model;\n\n```\n\n\n## Packaging\n\nA `.nuspec` is included with the project. You can follow the Nuget quickstart to [create](https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package#create-the-package) and [publish](https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package#publish-the-package) packages.\n\nThis `.nuspec` uses placeholders from the `.csproj`, so build the `.csproj` directly:\n\n```\nnuget pack -Build -OutputDirectory out Com.DaDaPush.Client.csproj\n```\n\nThen, publish to a [local feed](https://docs.microsoft.com/en-us/nuget/hosting-packages/local-feeds) or [other host](https://docs.microsoft.com/en-us/nuget/hosting-packages/overview) and consume the new package via Nuget as usual.\n\n\n## Getting Started\n\n```csharp\nusing System.Diagnostics;\nusing Com.DaDaPush.Client.Api;\nusing Com.DaDaPush.Client.Client;\nusing Com.DaDaPush.Client.Model;\n\nnamespace Example\n{\n    public class Example\n    {\n        public static void Main()\n        {\n\n            Configuration.Default.BasePath = \"https://www.dadapush.com\";\n            var apiInstance = new DaDaPushMessageApi(Configuration.Default);\n            var body = new MessagePushRequest(); // MessagePushRequest | body\n            var xChannelToken = xChannelToken_example;  // string | see: https://www.dadapush.com/channel/list (optional) \n\n            try\n            {\n                // push Message to a Channel\n                ResultOfMessagePushResponse result = apiInstance.CreateMessage(body, xChannelToken);\n                Debug.WriteLine(result);\n            }\n            catch (ApiException e)\n            {\n                Debug.Print(\"Exception when calling DaDaPushMessageApi.CreateMessage: \" + e.Message );\n                Debug.Print(\"Status Code: \"+ e.ErrorCode);\n                Debug.Print(e.StackTrace);\n            }\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 - [Model.Action](docs/Action.md)\n - [Model.MessageObject](docs/MessageObject.md)\n - [Model.MessagePushRequest](docs/MessagePushRequest.md)\n - [Model.MessagePushResponse](docs/MessagePushResponse.md)\n - [Model.PageResponseOfMessageObject](docs/PageResponseOfMessageObject.md)\n - [Model.Result](docs/Result.md)\n - [Model.ResultOfMessageObject](docs/ResultOfMessageObject.md)\n - [Model.ResultOfMessagePushResponse](docs/ResultOfMessagePushResponse.md)\n - [Model.ResultOfPageResponseOfMessageObject](docs/ResultOfPageResponseOfMessageObject.md)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadapush%2Fdadapush-csharp-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdadapush%2Fdadapush-csharp-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadapush%2Fdadapush-csharp-client/lists"}