Skip to content

Instantly share code, notes, and snippets.

@vmussak
Created February 12, 2019 00:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vmussak/66c4a7b2f4e0d5ed58bcd4424042c10f to your computer and use it in GitHub Desktop.
Save vmussak/66c4a7b2f4e0d5ed58bcd4424042c10f to your computer and use it in GitHub Desktop.
public class TrelloController : Controller
{
private string _apiKey = Environment.GetEnvironmentVariable("TRELLO_API_KEY");
private string _token = Environment.GetEnvironmentVariable("TRELLO_TOKEN");
private readonly HttpClient _httpClient;
public TrelloController()
{
_httpClient = new HttpClient
{
BaseAddress = new Uri("https://api.trello.com/1/")
};
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment