public dynamic GetProjects(int accountID, bool archived = false)
{
if (IsAuthenticated)
{
if (archived)
{
return _getJSONFromURL(string.Format(_BaseCampAPIURL, accountID, "projects/archived"));
}
else
{
return _getJSONFromURL(string.Format(_BaseCampAPIURL, accountID, "projects"));
}
}
else
{
throw new Exceptions.UnauthorizedException();
}
}