Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienDennehy committed Jan 14, 2016
1 parent e59c934 commit 74d8aa9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 24 deletions.
2 changes: 1 addition & 1 deletion docs/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Version 3.7.0-beta1 (2016-01-14)
* Added .NET Platform Standard 1.1 support.
* Added "TopPost" property to Topics model.
* Added README.txt on package install instead of loading external site.
* Added readme.txt on package install instead of loading external site.
* Removed Portable Class Library support - will be added by a NuGet update by Q1 2016.

## Version 3.6.0 (2016-01-03)
Expand Down
24 changes: 1 addition & 23 deletions src/Imgur.API/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,4 @@
Imgur.API is a .NET implementation of Imgur's v3 API.
It supports Imgur's free and Mashape's commercial API endpoints.

Visit the [Imgur.API website](http://imgurapi.readthedocs.org/en/latest/) for docs and sample code.

## Quick Start - Upload image anonymously

public async Task UploadImage()
{
try
{
var client = new ImgurClient("CLIENT_ID", "CLIENT_SECRET");
var endpoint = new ImageEndpoint(client);
IImage image;
using (var fs = new FileStream(@"IMAGE_LOCATION", FileMode.Open))
{
image = await endpoint.UploadImageStreamAsync(fs);
}
Debug.Write("Image uploaded. Image Url: " + image.Link);
}
catch (ImgurException imgurEx)
{
Debug.Write("An error occurred uploading an image to Imgur.");
Debug.Write(imgurEx.Message);
}
}
Visit the [Imgur.API website](http://imgurapi.readthedocs.org/en/latest/) for docs and sample code.

0 comments on commit 74d8aa9

Please sign in to comment.