public bool Post() { try { ApiAccesser.Post(this, MyProject.MySpace.BaseUri, MyProject.MySpace.ApiKey); } catch (Exception ex) { throw ex; } return(true); }
public List <Dictionary <string, object> > GetAsDict(string apiType) { return(ApiAccesser.GetAsDictionaries(this.BaseUri, this.ApiKey, apiType)); }
public static IEnumerable <BacklogIssue> Get(BacklogProject proj) { var dict = ApiAccesser.GetAsDictionaries(proj.MySpace.BaseUri, proj.MySpace.ApiKey, "issues").Select(x => x); return(dict.Select(x => new BacklogIssue(x, proj))); }
// Methods public string GetAsStr(string apiType) { return(ApiAccesser.GetAsString(this.BaseUri, this.ApiKey, apiType)); }