HubSpot/haPiHP — pull request #11 by ajorgensen (2013-06-12 02:59:40+00:00)
Title: adds support for multiple get parameters with the same key

HubSpot allows for multiple get parameters with the same key and different values. In the case of the contact API an example would be the property parameter. It is possible to pass in any number of properties to be returned by adding multiple property keys with different values for each property type you want returned to the parameters string in the get request. This pull request adds support for passing in an array to the params list where each element in the array will get written as a separate key=>value pair.