Sign up messagebird / csharp-rest-api Public Notifications Star 39 Fork 53 Code Issues 16 Pull requests 7 Actions Projects Security Insights master Go to file Code Latest commit marcelcorso Merge pull request #103 from nqkdev/master … on Sep 24 Git stats 318 Files Type .nuget Download NuGet binary if needed 3 years ago Examples Allowing email for Verify API 5 months ago MessageBird Update RequestValidator.cs 3 months ago NuGet Merge remote-tracking branch 'origin/master' into users/deluxz/target… 3 years ago Tests/UnitTests/MessageBirdUnitTests Support new webhook signature validation method 3 months ago .gitattributes Fix eol and make default EOL=crlf through gitattributes 7 years ago .gitignore Allowing email for Verify API 5 months ago .travis.yml add key 2 years ago LICENSE Add license 7 years ago README.md Remove the whatsapp sandbox functionality 13 months ago csharp-rest-client.sln Enabled NuGet Package Restore 7 years ago README.md MessageBird's REST API for C# This repository contains the open source C# client for MessageBird's REST API. Documentation can be found at: https://developers.messagebird.com. Requirements Sign up for a free MessageBird account Create a new access_key in the developers sections MessageBird API client for C# requires .NET Framework >= 4 or .NET Standard >= 2.0 It has a dependency on JSON.NET >= 4.5.6 Installation JSON.NET The MessageBird project depends on JSON.NET, which can be installed using the NuGet package manager. For more information on how to achieve this, see 'Managing NuGet packages using the dialog'. Usage We have put some self-explanatory examples in the Examples project, but here is a quick breakdown on how it works. First, you need to set up a MessageBird.Client. Be sure to replace YOUR_ACCESS_KEY with something real. using System; using MessageBird; using MessageBird.Objects; class Example { static void Main(string[] args) { Client client = Client.CreateDefault("YOUR_ACCESS_KEY"); } } That's easy enough. Now we can query the server for information. Lets use getting your balance overview as an example: // Get your balance Balance balance = client.Balance(); Error handling In case of an error the client throws an ErrorException. The ErrorException objects contains either: an array of Error objects that encapsulates the errors in the response (see errors for more info), a best effort description when no error information from the endpoint is available. See the provided examples on how to access error information from the ErrorException. Documentation Complete documentation, instructions, and examples are available at: https://developers.messagebird.com License The MessageBird REST Client for C# is licensed under The ISC License. Copyright (c) 2014, Remco Vermeulen About This repository contains the open source C# client for MessageBird's REST API. Resources Readme License ISC License Releases 20 3.1.0: Merge pull request #98 from ldominique92/mutipleFields Latest on Jun 25 + 19 releases Packages No packages published Contributors 23 + 12 contributors Languages C# 100.0% © 2021 GitHub, Inc. Terms Privacy Security Status Docs Contact GitHub Pricing API Training Blog About