Ejemplo n.º 1
0
 /// <summary>
 /// Get the json representing a <see cref="Messages"/> from GroupMe's servers;
 /// </summary>
 static public string JSONGet(WebClient webClient, string token, string groupID, params KeyValuePair <string, string>[] args)
 {
     return
         (UtilityNet.JSONGet
          (
              webClient,
              URLGet(token, groupID).URLPost(args)
          ));
 }
Ejemplo n.º 2
0
 static public string URLGet(string token, string groupID)
 => UtilityNet.URLGet(token, "groups", groupID, "messages");
Ejemplo n.º 3
0
 static public string URLGet(string token, string groupID)
 => UtilityNet.URLGet(token, "groups", groupID.ToString());
Ejemplo n.º 4
0
 static public string JSONGet(WebClient webClient, string token, string groupID)
 => UtilityNet.JSONGet(webClient, token, "groups", groupID.ToString());
Ejemplo n.º 5
0
 /// <summary>
 /// Get <see cref="Groups"/>;
 /// </summary>
 static public Groups Get(WebClient webClient, string token)
 => JsonConvert.DeserializeObject <Groups>(UtilityNet.JSONGet(webClient, URLGet(token)));
Ejemplo n.º 6
0
 static public string URLGet(string token)
 => UtilityNet.URLGet(token, "groups");