/// <summary> /// API call to get the description /// </summary> /// <param name="WebContent"></param> /// <returns></returns> public string Get_Overview(RootObject WebContent) { return(WebContent.data.Media.description); }
/// <summary> /// API call to get the img url /// </summary> /// <param name="WebContent"></param> /// <returns></returns> public string Get_ImageUrl(RootObject WebContent) { return(WebContent.data.Media.coverImage.large); }
/// <summary> /// API call too get the rating /// </summary> /// <param name="WebContent"></param> /// <returns></returns> public string Get_Rating(RootObject WebContent) { return((WebContent.data.Media.averageScore / 10).ToString()); }
/// <summary> /// API call to get the genre of the anime /// </summary> /// <param name="WebContent"></param> /// <returns></returns> public List <string> Get_Genre(RootObject WebContent) { return(WebContent.data.Media.genres); }