вот что лежит в script.js
<script>
$(document).ready(function(){	
	Trello.authorize({
		type: 'popup',
		name: 'Getting Started Application',
		scope: {
			read: true,
			write: true },
		expiration: 'never',
		success: 'authenticationSuccess',
		error: 'authenticationFailure'
	});
	
	var authenticationSuccess = function() { console.log('Successful authentication'); };
	var authenticationFailure = function() { console.log('Failed authentication'); };
	
	var success = function(successMsg) {
		asyncOutput(successMsg);
	};
	var error = function(errorMsg) {
		asyncOutput(errorMsg);
	};
	
	Trello.get('/boards/555c8e81e8d5aff570505f5b/cards', 'success', 'error');
});
</script>
вот как это подключается в index.php 
	
	| 
		 Код: 
	 | 
	<html >
<head>
	<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
	<script src="https://api.trello.com/1/client.js?key=[тут живет мой секретный ключик]"></script>
	<script src="js/script.js"></script>
</head>
	<body>
...
</body>
</html>  | 
	
вот ответ из FireBug
[{"id":"555c8e8438613a1b6f665efc","name":"First List","closed":false,"idBoard":"555c8e81e8d5aff570  505f5b","pos":10239.90625,"subscribed":false},{"id  ":"55cce7e390e2b8ad5bc65a3c","name":"Second List","closed":false,"idBoard":"555c8e81e8d5aff570  505f5b","pos":65535.25,"subscribed":false}]
Вот этот ответ мне и нужно передать в PHP !