RUST Imgur API v1.0.2

No permission to download
You can download a maximum of 0 files within 24 hours

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.
Code:
Please, Log in or Register to view codes content!

Getting Client ID​

  1. Create an account on
    Please, Log in or Register to view URLs content!
  2. Register your
    Please, Log in or Register to view URLs content!

    A. Application Name: Pick any name you want
    B. Click the radio fields in this order
1771170488791.png
  1. C. Authorization Callback URL: ignore this field
    D. Application website: Ignore this field
    E. Email: enter your email
    F. Description enter any description
  2. Copy the Client Id to the client Id in the config.
1771170501630.png

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 upload

The 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 creation

The 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 imgur
image - 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)
Code:
Please, Log in or Register to view codes content!
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
Code:
Please, Log in or Register to view codes content!
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
Code:
Please, Log in or Register to view codes content!
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
Code:
Please, Log in or Register to view codes content!
Author
Box2
Downloads
0
Views
23
First release
Last update
Rating
0.00 star(s) 0 ratings

Similar resources

Плагин добавит в редактор сообщений кнопку для быстрой загрузки изображений на хостинг imgur.com.
0.00 star(s) 0 ratings
Downloads
0
Updated
Форма для удобной загрузки изображений на удалённые хостинги.
0.00 star(s) 0 ratings
Downloads
0
Updated
Русификатор для плагина удалённой загрузки изображений на файлохостинги
0.00 star(s) 0 ratings
Downloads
0
Updated
RUST  AFK API v1.0.1 GP100.00
Complex developer API for "Away from keyboard" players.
0.00 star(s) 0 ratings
Downloads
0
Updated
Добавляет конечную точку API для поиска пользователя по критериям: user_id, email или username
0.00 star(s) 0 ratings
Downloads
0
Updated
Back
Top
Development Community