コード例 #1
0
ファイル: ImgurClient.cs プロジェクト: JGray0705/ImgurSharp
        /// <summary>
        /// Get an Image with the given ID
        /// </summary>
        /// <param name="imageId">The ID of the requested image. This is the part at the end of the URL.</param>
        /// <returns>An Imgur <see cref="Image"/></returns>
        public async Task <Image> GetImage(string imageId)
        {
            Image img = await ImageEndpoint.GetImage(imageId, imgurHttp);

            return(img);
        }