/// <summary> /// Finds the base image of the meme without any text /// </summary> /// <param name="memeType">the meme type you want to find</param> /// <returns></returns> public async Task <Uri> GetMemeBaseImage(PopularMemeTypes memeType) { int memeID = (int)memeType; return(await GetMemeBaseImage(memeID)); }
/// <summary> /// Creates a captioned image given a memetype and sets of text /// </summary> /// <param name="memeType">The popular meme type you want to caption</param> /// <param name="username">The username of the api account. You can register at http://www.imgflip.com</param> /// <param name="password">The password for the api account</param> /// <param name="TopText">Text on the top line of the meme</param> /// <param name="BottomText">Text on the bottom line of the meme</param> /// <returns></returns> public async Task <CaptionMemeRoot> CaptionMemeAsync(PopularMemeTypes memeType, String username, String password, String TopText, String BottomText) { int tempID = (int)memeType; return(await CaptionMemeAsync(tempID, username, password, TopText, BottomText)); }