Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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