<?php 
/* The code given below can be used to get detail related to a particular collection. Please note that all 
 * the form fields given below are mandatory and must be filled with correct values.
 */

$VesicaVars = '<input type="hidden" name="user_api" value="your-user-api-key" />
<input type="hidden" name="account_api" value="your-account-api-key" />
<input type="hidden" name="demand" value="COLLECTION_DETAIL" />
<input type="hidden" name="id" value="id-of-collection" />';
/* To get user_api and account_api, you need to login into your Vesica account and click on "Settings". 
 * On settings page click on "API Keys". You would be redirected to the page where your API keys are being
 *  displayed.*/
			
 	 $VesicaForm = '<html>
							<body>
							   <form method="post" action="http://vesica.ws/api/index.php" name="VesicaForm">'.					
								$VesicaVars
								.'<script type="text/javascript">
									document.VesicaForm.submit()
								</script>
							</body>
						</html>';
		echo $VesicaForm;
		
/* For further details, please visit http://vesica.ws/developers/collection-detail/ */
?>