You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rester is a Windows 8.1 and Windows Phone 8.1 library for talking to restful api's. I'm building Rester instead of using an existing library because I want to learn about restful api's.
Rester is under heavy development and by no means stable. If you are looking for a stable restclient I suggest you use RestSharp.
Disclaimer
Rester is a hobby project that I do because I love developing. I do however have a life and family. Therefore I can't give any guarantees about deadlines, crashes or any other problems.
Features
GET request
OAuth1 authentication
Custom headers
Request throttling
Problems, questions and suggestions
If you have problems, questions or suggestions you can post them in the issues of this repository.
NuGet
You can add Rester to you project using the following command in the package manager console:
Install-Package BeeWee.Rester, or go to NuGet.org.
Usage
//create a basic Rester clientvarclient=newClient();//or create a throttled Rester client with 10 request in every 3 secondsvarclient=newThrottledClient(10,TimeSpan.FromSeconds(3));//create a Rester get requestvarrequest=newGetRequest("http://api.discogs.com/releases/2817604");//create an optional authenticatorvarauthenticator=newOAuth1Authenticator(SignatureMethod.PLAINTEXT,consumerKey,consumerSecret,tokenKey,tokenSecret,verifier);//send the request and await the responsevarresponse=awaitclient.ExecuteRawAsync(request,authenticator);