Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.01 KB

README.md

File metadata and controls

39 lines (25 loc) · 1.01 KB

ImgFlip4NET

A .NET wrapper for the imgflip.com Meme Generator RESTful HTTP api.

Getting Started

Prerequisites
Getting a meme template
var service = new ImgFlipService(new ImgFlipOptions());
var template = await service.GetRandomMemeTemplateAsync();
Creating a new meme
var service = new ImgFlipService(new ImgFlipOptions {
    Username = "[YOUR USERNAME]",
    Password = "[YOUR PASSWORD]"
});

var template = await service.GetRandomMemeTemplateAsync();
var meme = await service.CreateMemeAsync(template.Id, "some text here", "and some here...");

Console.WriteLine(meme.ImageUrl);

Dependencies