Imgur-API

 view release on metacpan or  search on metacpan

data/models.json  view on Meta::CPAN

      }
   ],
   "account_settings" : [
      {
         "example" : "{\n   \"success\" : true,\n   \"data\" : {\n      \"show_mature\" : false,\n      \"public_images\" : false,\n      \"high_quality\" : true,\n      \"album_privacy\" : \"secret\",\n      \"accepted_gallery_terms\" : true,\n     ...
         "description" : " The account settings, only accessible if you're logged in as the user. ",
         "pname" : "AccountSettings",
         "fields" : [
            {
               "type" : "string",
               "desc" : "The account username",
               "name" : "account_url"
            },
            {
               "desc" : "The users email address",
               "type" : "string",
               "name" : "email"
            },
            {
               "desc" : "The users ability to upload higher quality images, there will be less compression",
               "type" : "boolean",
               "name" : "high_quality"
            },
            {
               "name" : "public_images",
               "desc" : "Automatically allow all images to be publicly accessible",
               "type" : "boolean"
            },
            {
               "type" : "string",
               "desc" : "Set the album privacy to this privacy setting on creation",
               "name" : "album_privacy"
            },
            {
               "desc" : "False if not a pro user, their expiration date if they are.",
               "type" : "integer or boolean",
               "name" : "pro_expiration"
            },
            {
               "desc" : "True if the user has accepted the terms of uploading to the Imgur gallery.",
               "type" : "boolean",
               "name" : "accepted_gallery_terms"
            },
            {
               "type" : "Array of Strings",
               "desc" : "The email addresses that have been activated to allow uploading",
               "name" : "active_emails"
            },
            {
               "name" : "messaging_enabled",
               "type" : "boolean",
               "desc" : "If the user is accepting incoming messages or not"
            },
            {
               "desc" : "An array of users that have been blocked from messaging, the object is blocked_id and blocked_url.",
               "type" : "Array of objects",
               "name" : "blocked_users"
            },
            {
               "name" : "show_mature",
               "desc" : "True if the user has opted to have mature images displayed in gallery list endpoints.",
               "type" : "boolean"
            },
            {
               "type" : "boolean",
               "desc" : "True unless the user created their account via a third party service such as Google Plus.",
               "name" : "first_party"
            }
         ]
      }
   ],
   "gallery_image" : [
      {
         "fields" : [
            {
               "name" : "id",
               "desc" : "The ID for the image",
               "type" : "string"
            },
            {
               "name" : "title",
               "type" : "string",
               "desc" : "The title of the image."
            },
            {
               "name" : "description",
               "type" : "string",
               "desc" : "Description of the image."
            },
            {
               "type" : "integer",
               "desc" : "Time inserted into the gallery, epoch time",
               "name" : "datetime"
            },
            {
               "name" : "type",
               "desc" : "Image MIME type.",
               "type" : "string"
            },
            {
               "name" : "animated",
               "desc" : "is the image animated",
               "type" : "boolean"
            },
            {
               "name" : "width",
               "desc" : "The width of the image in pixels",
               "type" : "integer"
            },
            {
               "type" : "integer",
               "desc" : "The height of the image in pixels",
               "name" : "height"
            },
            {
               "desc" : "The size of the image in bytes",
               "type" : "integer",
               "name" : "size"
            },
            {
               "type" : "integer",



( run in 0.589 second using v1.01-cache-2.11-cpan-d7f47b0818f )