Strict Standards: Non-static method Configure::getInstance() should not be called statically in /home/kentproject/theprofile.co.uk/cake/bootstrap.php on line 38

Strict Standards: Non-static method CakeLog::handleError() should not be called statically in /home/kentproject/theprofile.co.uk/cake/libs/cake_log.php on line 290

Strict Standards: Non-static method CakeLog::handleError() should not be called statically in /home/kentproject/theprofile.co.uk/cake/libs/debugger.php on line 707

Strict Standards: Non-static method CakeLog::handleError() should not be called statically in /home/kentproject/theprofile.co.uk/cake/libs/debugger.php on line 707
theProfile - Developers

Developers

TheProfile.co.uk loves developers!

We provide an API that will allow you to access and use our profile data on your site.

To access a user's data, please use the address http://www.theprofile.co.uk/api/ followed by the username you want to access with the extension of either xml or json.

For example...
  • to get an XML file for an account called test you would use: http://theprofile.co.uk/api/test.xml
  • to get a JSON file ofor an account called test you would use: http://theprofile.co.uk/api/test.json

Example of expected XML output

	<user>
		<nickName>TestO</nickName>
		<title>Mr</title>
		<firstname>Joe</firstname>
		<lastname>Bloggs</lastname>
		<dateOfBirth>1960-01-01</dateOfBirth>
		<gender>Male</gender>
		<email>test@theprofile.co.uk</email>
		<imageURL>http://theprofile.co.uk/img/blank.gif</imageURL>
	</user>

Example of expected JSON output

	{"user": {	
		"nickName": "Testo", 
		"title": "Mr", 
		"firstname": "Joe", 
		"lastname": "Bloggs", 
		"dateOfBirth": "1960-01-01", 
		"gender": "Male", 
		"email": "test@theprofile.co.uk", 
		"imageURL": "http://theprofile.co.uk/img/blank.gif", 
		"datasource": "theprofile.co.uk"
		}
	}