Method: TypeformData::Client#get

Defined in:
lib/typeform_data/client.rb

#get(endpoint, params = {}) ⇒ TypeformData::ApiResponse

Your API key will automatically be added to the request URL as a query param, as required by the API.

Parameters:

  • (String)
  • (Hash)

Returns:



27
28
29
# File 'lib/typeform_data/client.rb', line 27

def get(endpoint, params = {})
  TypeformData::Requestor.get(@config, endpoint, params)
end