Skip to content

Commit

Permalink
Updates README for submodule pull instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Pobar committed Oct 14, 2016
1 parent ba9e424 commit 84dd131
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
# Betfair API-NG C# Client API

A feature complete .NET Betfair [API-NG] C# client that builds on the Betfair [sample code]. It uses the [Task Parallel Library] and [Reactive Extensions] for the concurrency layer.
A feature complete .NET Betfair [API-NG] C# client that builds on the Betfair [sample code]. It uses the [Task Parallel Library] and [Reactive Extensions] for the concurrency layer.
Now with [Exchange Streaming] API support (early beta). Be sure to pull in the Betfair example code submodule:

```sh
git clone https://github.com/joelpob/betfairng
git submodule init
git submodule update
```

How to use it
-------------

To login to Betfair using this library, you'll need both a) a self signed certificate (follow the process [described here]), and b) an application key [directions here].

```c#
BetfairClient client = new BetfairClient(Exchange.AUS, "ASDF1234qwerty");
BetfairClient client = new BetfairClient("ASDF1234qwerty");
client.Login("client-2048.p12", "certpass", "username", "password");
```

Expand Down Expand Up @@ -51,6 +58,7 @@ Enjoy.

[sample code]:https://github.com/betfair/API-NG-sample-code/tree/master/cSharp
[API-NG]:https://api.developer.betfair.com/services/webapps/docs/display/1smk3cen4v3lu3yomq5qye0ni/Getting+Started+with+API-NG
[Exchange Streaming]:http://docs.developer.betfair.com/docs/display/1smk3cen4v3lu3yomq5qye0ni/Exchange+Stream+API
[Reactive Extensions]:https://github.com/Reactive-Extensions
[Task Parallel Library]:http://msdn.microsoft.com/en-us/library/dd460717(v=vs.110).aspx
[described here]:https://api.developer.betfair.com/services/webapps/docs/display/1smk3cen4v3lu3yomq5qye0ni/Non-Interactive+(bot)+login
Expand Down

0 comments on commit 84dd131

Please sign in to comment.