<commit_before>var restifyRouter	= require('restify-routing'),
    router          = new restifyRouter(),
	user			= require(process.cwd() + '/data/user.js');

router.get('/:region:/:platform:/:username:', function(req, res) {

	//Pull Username from req
	var platform	= req.params.platform,
		region		= req.params.region,
		username	= req.params.username;

	console.log(req.params);

	var successRes	= function(json){
		res.send(json);
	};

	var errorRes	= function(){
		res.send(500, "Internal Server Error");
	}

	var json = user(platform, username, region, successRes, errorRes);



});

module.exports = router;<commit_msg>Finish and close #5, currently nothing special<commit_after>var restifyRouter	= require('restify-routing'),
    router          = new restifyRouter(),
	user			= require(process.cwd() + '/data/user.js');

router.get('/:region/:platform/:username', function(req, res) {

	console.log(req.params);

	user(req.params.platform, req.params.username, req.params.region,
		function(json) { res.send(json); },
		function() { res.send(500, "Internal Server Error" ); }
	);



});

module.exports = router;
{'fraction_non_alphanumeric': 0.16681534344335414, 'fraction_numerical': 0.006244424620874219, 'mean_word_length': 4.170506912442396, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1601802', 'n_tokens_mistral': 389, 'n_tokens_neox': 366, 'n_words': 74}