Exemple #1
0
 // + "?type=" + type + "&language=" + language
 public List<EmotionList> GetEmotions(string type, string format, string apiToken, string apiTokenSecret)
 {
     SinaApiService myApi = new SinaApiService();
     string myResult = myApi.GetEmotions(type, "cnname", format, consumerKey, consumerKeySecret, apiToken, apiTokenSecret);
     XDocument doc = XDocument.Parse(myResult);
     return EmotionList.Parse(doc.Root);
 }