//http://api.programmableweb.com/apis/-/Mapping?apikey=123 public APIResult GetApi(string api, APIRelation relation) { string data = context.MakeRequest(this.resource, "GET", null, api, relation, null); string json = data.Replace("pwfeed = ", String.Empty); APIResult result = new APIResult(json); // JsonConvert.DeserializeObject<APIResult>(json); // return result; }
//http://api.programmableweb.com/apis/-/Mapping?apikey=123 public APIResult GetApis(string apiCategory, string[] apiTags) { string[] query = new string[] { apiCategory }; query = query.Concat(apiTags).ToArray(); string data = context.MakeRequest(this.resource, "GET", null, null, APIRelation.None, query); string json = data.Replace("pwfeed = ", String.Empty); APIResult result = new APIResult(json); // JsonConvert.DeserializeObject<APIResult>(json); // return result; }