Configuration
The settings and options can be configured in the ImgurApi file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.Getting Client ID
- Create an account on
- Register your
A. Application Name: Pick any name you want
B. Click the radio fields in this order

- C. Authorization Callback URL: ignore this field
D. Application website: Ignore this field
E. Email: enter your email
F. Description enter any description - Copy the Client Id to the client Id in the config.

Developer API
Input Data
Album Upload
Contains a list of images to be upload to imgur List<Hash<string, object>>The hash has the following keys
Image - byte[] of the image to be uploaded
Title - Title of the image (Optional)
Description - Description of the image (Optional)
Returned Data
API Response
Returns the response from the API Call as a Hash<string, object>The hash has the following keys
Status - HTTP Response code (int)
Success - Was the API call successful (bool)
Data - Data returned from the API call (Hash<string, object>)
Errors - List of all errors returned from the API (List<Hash<string, object>>)
Error Message
Contains the errors that the API returned as a List<Hash<string, object>>The hash has the following keys
Id - ID of the error (string)
Code - Error Code (string)
Status - Errors Status (string)
Defailt - Details about the error (string)
Upload Response
Response returned to the calling plugin as a Hash<string, object> after a successful image uploadThe hash has the following keys
Id - Id of the image (string)
DeleteHash - delete hash of the image (string)
Link - URL Link to the image (string)
Album Response
Response returned to the calling plugin as a Hash<string, object> after a successful album creationThe hash has the following keys
Id - Id of the Album (string)
DeleteHash - delete hash of the Album (string)
Link - URL Link to the Album (string)
Methods
Uploads an image to imgurimage - the byte[] of the image
callback - the action to call on the calling plugin after the upload occurs contains Api Response with Upload Response as the data from Returned Datatitle - title of the image (optional)
description - description of the image (optional)
Deletes an image from Imgur using the deletehash
deleteHash - deletehash of the image to be deleted
callback - the action to call on the calling plugin after the upload occurs contains Api Response as the data from Returned Data
Uploads an album to imgur
images - List of images to be uploaded. Hash information can be found in Album Upload under Input Data
callback - the action to call on the calling plugin after uploading all the images and creating the album
The callback hash contains the Album Hash under the Album key with the images success under Image{index} key
Deletes an album from Imgur using the deletehash
deleteHash - deletehash of the album to be deleted
callback - the action to call on the calling plugin after the upload occurs contains Api Response as the data from Returned Data