convert per_page parameter to integer
number of rows in API response should be between 1 and 50