Documentation ¶
Overview ¶
Package imgur implements a Service which adds !commands for imgur image search
Index ¶
Constants ¶
View Source
const ServiceType = "imgur"
ServiceType of the Imgur service
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { types.DefaultService // The Imgur client ID ClientID string `json:"client_id"` // The API key to use when making HTTP requests to Imgur. ClientSecret string `json:"client_secret"` }
Service contains the Config fields for the Imgur service.
Example request:
{ "client_id": "AIzaSyA4FD39..." "client_secret": "ASdsaijwdfASD..." }
Click to show internal directories.
Click to hide internal directories.