Beispiel #1
0
        public Follower GetFollower(FollowerType follower)
        {
            string followerSlug = follower.ToString().ToLower();

            Request request = new Request(User_Agent);

            request.Get($"{Api_Url}d3/data/follower/{followerSlug}?locale={Locale}&apikey={Api_Key}");
            return(new Follower(JObject.Parse(request.Response)));
        }
Beispiel #2
0
 /// <summary>
 /// String representation for debug purposes.
 /// </summary>
 /// <returns></returns>
 public override string ToString()
 {
     return(FollowerType.ToString());
 }