# FetchOBot
A .Net library for accessing the Track-o-bot API

# Fetch-o-Bot
A .Net library for accessing the Track-o-bot API

## Usage

In an async method:

```c#
var fetchOBot = new FetchOBot();
var history = await fetchOBot.GetHistoryAsync(username, apiToken, page);
```

In a synchronous method (such as a console application):

```c#
var fetchOBot = new FetchOBot();
var history = fetchOBot.GetHistoryAsync(username, apiToken, page).Result;
```

Fetch-o-Bot will throw `FetchOBotUnauthorizedException` if the Track-o-Bot username or API token is invalid.

## Feedback

For bugs or suggestions, you can [open an issue](https://github.com/HearthCoder/FetchOBot/issues) on GitHub.  Or feel free to submit a pull request!

Add usage example to the readme
Add usage example to the readme
