• Stars
    star
    53
  • Rank 533,371 (Top 11 %)
  • Language
    C#
  • License
    ISC License
  • Created over 9 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This repository contains the open source C# client for MessageBird's REST API.

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.

build status NuGet version (MessageBird)

Requirements

  • Sign up for a free MessageBird account
  • Create a new access_key in the developers sections

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

More Repositories

1

sachet

SMS alerts for Prometheus' Alertmanager
Go
212
star
2

php-rest-api

This repository contains the open source PHP client for MessageBird's REST API.
PHP
159
star
3

go-rest-api

MessageBird's REST API for Go
Go
119
star
4

messagebird-nodejs

The open source Node.js client for MessageBird's REST API
JavaScript
106
star
5

pushprom

Pushprom is a proxy to the Prometheus Go client.
Go
80
star
6

python-rest-api

This repository contains the open source Python client for MessageBird's REST API.
Python
64
star
7

java-rest-api

This repository contains the open source Java client for MessageBird's REST API.
Java
48
star
8

clickhouse-postgres-fdw

This project provides federated access to Clickhouse cluster from Postgres, with the ability to write FDW API functions in GO.
Go
45
star
9

ruby-rest-api

MessageBird's REST API for Ruby
Ruby
36
star
10

beanstalkd_exporter

A beanstalkd stats exporter for Prometheus
Go
33
star
11

slackincident

This node.js app is allowing you to start an incident management process via a Slack slash command.
JavaScript
27
star
12

gcppromd

Prometheus GCP discovery
Go
18
star
13

mysql-monitor

A tool to monitor mysql databases
Go
12
star
14

firestore-send-msg

Source code for MessageBird Firebase send message extension
TypeScript
11
star
15

python-grpc-argument-validator

Python
7
star
16

pushprom-php-client

PHP client for Pushprom
PHP
6
star
17

dart-rest-api

MessageBird's REST API for Dart
Dart
5
star
18

messagebird-magento-integration

Integrate magento (v2) with the MessageBird Flow Builder
PHP
3
star
19

messagebird-magento

PHP
3
star
20

pushprom-yii2-client

Yii 2 client for Pushprom
PHP
2
star
21

openapi-specs

Open API specifications of MessageBird public API's
1
star