def success_response(data):
    """ When an API call is successful, the function is used as a simple envelope for the results, 
    using the data key, as in the following:

    {
    	status : "success",
    	data : {
        	"posts" : [
            	{ "id" : 1, "title" : "A blog post", "body" : "Some useful content" },
            	{ "id" : 2, "title" : "Another blog post", "body" : "More content" },
        	]
     }

    required keys:
    	status: Should always be set to "success
    	data: Acts as the wrapper for any data returned by the API call. If the call returns no data (as in the last example), data should be set to null.

	"""

    return {'status': 'success','data': data}