feat(ResultInfo): add TotalPages field
This changes adds the `TotalPages` field to the `ResultInfo` struct.
This field was added to the API a while ago and can be used in
combination with the `Pages` field to determine how many more calls you
need to make to fetch all data.
@@ -162,6 +162,7 @@ type Response struct {
type ResultInfo struct {
Page int `json:"page"`
PerPage int `json:"per_page"`
+ TotalPages int `json:"total_pages"`
Count int `json:"count"`
Total int `json:"total_count"`
}
