Klient API serwisu Wykop.pl dla C# .NET.
private async Task<BooleanResponse> SendMessage(string appKey, string appSecret, string userKey)
{
var file = new ByteFile("resource\\test.PNG");
var test = @"( ͡°( ͡° ͜ʖ( ͡° ͜ʖ ͡°)ʖ ͡°) ͡°)";
using (var client = WykopSharpClientFactory.Create<WykopSharpClient.WykopSharpClient>(appKey, appSecret, userKey))
{
client.Authenticate();
var result = await client.Conversation.Send("adios", test, file);
return result;
}
}
not versioned yet ;-)
- Porządek z Modelem
- Check in unit test