Example #1
0
 public bool Post()
 {
     try
     {
         ApiAccesser.Post(this, MyProject.MySpace.BaseUri, MyProject.MySpace.ApiKey);
     }
     catch (Exception ex) {
         throw ex;
     }
     return(true);
 }
Example #2
0
 public List <Dictionary <string, object> > GetAsDict(string apiType)
 {
     return(ApiAccesser.GetAsDictionaries(this.BaseUri, this.ApiKey, apiType));
 }
Example #3
0
        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)));
        }
Example #4
0
 // Methods
 public string GetAsStr(string apiType)
 {
     return(ApiAccesser.GetAsString(this.BaseUri, this.ApiKey, apiType));
 }