Skip to content

Commit

Permalink
RC 2.0.0 (#29)
Browse files Browse the repository at this point in the history
# Improvements 

RC 2.0.0

Closes #7



### Checklist

- [x] I acknowledge that all my contributions will be made under the
project's license
- [x] I have made a material change to the repo (functionality, testing,
spelling, grammar)
- [x] I have titled the PR appropriately
- [x] I have updated my branch with the main branch
- [x] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have added the necessary documentation about the functionality
in the appropriate .md file
- [ ] I have added inline documentation to the code I modified

If you have questions, create a GitHub Issue in this repository.
  • Loading branch information
Aman-Aalam authored Nov 20, 2023
1 parent 8eee5e5 commit c3dfd73
Show file tree
Hide file tree
Showing 50 changed files with 275 additions and 2,892 deletions.
23 changes: 7 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ In Solution Explorer, right-click the project node and click Add Reference. Sele

#### With NuGet
Open your package manager console and enter:
`PM> Install-Package Trolley.SDK`
`PM> Install-Package trolleyhq`


The library is hosted on github [here](https://github.com/Trolley/dotnet-sdk)
Expand All @@ -41,10 +41,10 @@ class Program
{
static void Main(string[] args)
{
// set your API key
var client = new Trolley.Gateway("YOUR-API-KEY", "YOUR-SECRET-KEY");
Recipient response = client.recipient.find("R-4q7zxMa26hpZhx7ULApBGw");
Console.WriteLine(response.Id);
// set your API keys
var gateway = new Trolley.Gateway("<ACCESS_KEY>","<SECRET_KEY>");
Recipient recipient = gateway.recipient.Get("R-a4q7zxMa26Zhx7ULApBGw");
Console.WriteLine(recipient.Id);

Console.Read();
}
Expand All @@ -54,15 +54,6 @@ class Program

### Usage

Methods should all have C# Doc comments to help you understand their usage. As mentioned the [full API documentation](https://docs.trolley.com)
is the best source of information about the API.

For more information please read the [C# API docs](https://github.com/Trolley/dotnet-sdk/tree/master/docs/) is available. The best starting point is:

| Data Type | SDK Documentation |
| ----- | ----- |
| Batch | [API Docs for Batch](https://github.com/Trolley/dotnet-sdk/tree/master/docs/classes/batchgateway.md) |
| Payment | [API Docs for Payment](https://github.com/Trolley/dotnet-sdk/tree/master/docs/classes/paymentgateway.md) |
| Recipient | [API Docs for Recipient](https://github.com/Trolley/dotnet-sdk/tree/master/docs/classes/recipientgateway.md) |
| Recipient Account | [API Docs for Recipient Account](https://github.com/Trolley/dotnet-sdk/tree/master/docs/classes/recipientaccountgateway.md) |
Methods should all have C# Doc comments to help you understand their usage.

As mentioned the [full API documentation](https://docs.trolley.com) is the best source of information about the API.
61 changes: 0 additions & 61 deletions docs/README.md

This file was deleted.

57 changes: 0 additions & 57 deletions docs/classes/balancesgateway.md

This file was deleted.

Loading

0 comments on commit c3dfd73

Please sign in to comment.