func (client *Client) GetAlbumInfo(id string) (*AlbumInfo, int, error) {
	body, rl, err := client.getURL("album/" + id)
	if err != nil {
		return nil, -1, errors.New("Problem getting URL for album info ID " + id + " - " + err.Error())
	}
	dec := json.NewDecoder(strings.NewReader(body))
	var alb albumInfoDataWrapper
	if err := dec.Decode(&alb); err != nil {
		return nil, -1, errors.New("Problem decoding json for albumID " + id + " - " + err.Error())
	}
	if !alb.Success {
		return nil, alb.Status, errors.New("Request to imgur failed for albumID " + id + " - " + strconv.Itoa(alb.Status))
	}
	alb.Ai.Limit = rl
	return alb.Ai, alb.Status, nil
}
GetAlbumInfo queries imgur for information on a album
returns album info, status code of the request, error
package imgur
import (
	"encoding/json"
	"errors"
	"strconv"
	"strings"
)
type albumInfoDataWrapper struct {
	Ai      *AlbumInfo `json:"data"`
	Success bool       `json:"success"`
	Status  int        `json:"status"`
}
type AlbumInfo struct {
	ID          string      `json:"id"`                    
	Title       string      `json:"title"`                 
	Description string      `json:"description"`           
	DateTime    int         `json:"datetime"`              
	Cover       string      `json:"cover"`                 
	CoverWidth  int         `json:"cover_width"`           
	CoverHeight int         `json:"cover_height"`          
	AccountURL  string      `json:"account_url"`           
	AccountID   int         `json:"account_id"`            
	Privacy     string      `json:"privacy"`               
	Layout      string      `json:"layout"`                
	Views       int         `json:"views"`                 
	Link        string      `json:"link"`                  
	Favorite    bool        `json:"favorite"`              
	Nsfw        bool        `json:"nsfw"`                  
	Section     string      `json:"section"`               
	Order       int         `json:"order"`                 
	Deletehash  string      `json:"deletehash,omitempty"`  
	ImagesCount int         `json:"images_count"`          
	Images      []ImageInfo `json:"images"`                
	InGallery   bool        `json:"in_gallery"`            
	Limit       *RateLimit   
}