{"id":15798009,"url":"https://github.com/grokify/ringcentral-sdk-csharp-simple","last_synced_at":"2025-03-31T19:45:54.858Z","repository":{"id":36710845,"uuid":"41017399","full_name":"grokify/ringcentral-sdk-csharp-simple","owner":"grokify","description":"Simple SDK wrapper for RingCentral C# SDK (https://github.com/ringcentral/ringcentral-csharp). Need help? Post your questions to http://stackoverflow.com/ or email us at devsupport@ringcentral.com.","archived":false,"fork":false,"pushed_at":"2016-05-17T08:50:21.000Z","size":46,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-12T00:47:17.675Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://ringcentral-sdk-csharp-simple.readthedocs.org/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grokify.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-19T06:31:24.000Z","updated_at":"2017-08-23T23:21:06.000Z","dependencies_parsed_at":"2022-08-31T14:00:22.510Z","dependency_job_id":null,"html_url":"https://github.com/grokify/ringcentral-sdk-csharp-simple","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grokify%2Fringcentral-sdk-csharp-simple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grokify%2Fringcentral-sdk-csharp-simple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grokify%2Fringcentral-sdk-csharp-simple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grokify%2Fringcentral-sdk-csharp-simple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grokify","download_url":"https://codeload.github.com/grokify/ringcentral-sdk-csharp-simple/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246531986,"owners_count":20792735,"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":[],"created_at":"2024-10-05T00:22:54.978Z","updated_at":"2025-03-31T19:45:54.838Z","avatar_url":"https://github.com/grokify.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RingCentral Simple SDK for C\u0026#35; / .NET\r\n\r\n[![Nuget Version][nuget-version-svg]][nuget-version-link]\r\n[![Docs][docs-readthedocs-svg]][docs-readthedocs-link]\r\n[![License][license-svg]][license-link]\r\n\r\nThis is a simple wrapper around the [RingCentral C# SDK](https://github.com/ringcentral/ringcentral-csharp) to make common API calls easier to access. The RingCentral SDK client object is available via the simple client and can be introduced via a dependency injection.\r\n\r\nThe code is a very early proof of concept.\r\n\r\n## Installation\r\n\r\nVia [NuGet](https://www.nuget.org/packages/RingCentralSimple/):\r\n\r\n```\r\nPM\u003e Install-Package RingCentral\r\nPM\u003e Install-Package RingCentralSimple\r\n```\r\n\r\n## Quickstart\r\n\r\n### Initialization\r\n\r\n```csharp\r\nusing RingCentral;\r\nusing RingCentralSimple;\r\n```\r\n\r\n### Send an SMS\r\n\r\nThis can be done simply using the `SendMessage()` method which returns a `RingCentral.SDK.Http.Response` object. This assumes that the `accountId` and `extensionId` are the default ids for the authorized user.\r\n\r\n```csharp\r\n// Instantiate SDK\r\nvar sdk = new RingCentral.SDK.SDK(\"appKey\", \"appSecret\", \"serverUrl\", \"appName\", \"appVersion\");\r\nvar rc = new RingCentralSimple.Client(sdk);\r\n\r\n// Authorize User using OAuth Password Grant\r\nrc.Sdk.GetPlatform().Authorize(\"username\", \"extension\", \"password\", true);\r\n\r\n// SendMessage takes the following parameters: (\"fromNumber\", \"toNumber\", \"message\")\r\nvar response = rc.SendMessage(\"+15551112222\", \"+15553334444\", \"RingCentral SMS via C#\");\r\n```\r\n\r\n### Access RingCentral Client\r\n\r\nThe official [RingCentral C# SDK](https://github.com/ringcentral/ringcentral-csharp) is available via the `Sdk` property.\r\n\r\n```csharp\r\nvar rc = new RingCentralSimple.Client(\"appKey\", \"appSecret\", \"serverUrl\");\r\nvar rcsdk = rc.Sdk;\r\n```\r\n\r\n## License\r\n\r\nRingCentral Simple SDK for C# is available under an MIT-style license. See the `LICENSE.txt` file for details.\r\n\r\nRingCentral Simple SDK for C# \u0026copy; 2015-2016 by John Wang\r\n\r\n [nuget-version-svg]: https://img.shields.io/nuget/v/RingCentralSimple.svg\r\n [nuget-version-link]: https://www.nuget.org/packages/RingCentralSimple/\r\n [downloads-svg]: https://img.shields.io/nuget/dt/RingCentralSimple.svg\r\n [downloads-link]: https://www.nuget.org/packages/RingCentralSimple/\r\n [docs-readthedocs-svg]: https://img.shields.io/badge/docs-readthedocs-blue.svg\r\n [docs-readthedocs-link]: http://ringcentral-sdk-csharp-simple.readthedocs.org/\r\n [license-svg]: https://img.shields.io/badge/license-MIT-blue.svg\r\n [license-link]: https://github.com/grokify/ringcentral-sdk-csharp-simple/blob/master/LICENSE.txt\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrokify%2Fringcentral-sdk-csharp-simple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrokify%2Fringcentral-sdk-csharp-simple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrokify%2Fringcentral-sdk-csharp-simple/lists"}