<commit_before>#Import google sign in
from handlerBase import Handler
from datastore import *

import webapp2

from constants import *

TESTING = True

if TESTING:
	from testHarness import *
	import logging


class API(Handler):

	def get(self):
		#Display API information
		info = json.dumps({"version" : 2.00, "powered by" : "Xenon Apps"})
		self.response.set_status(200,info)
		self.write(info)
		
#This is the catch all #('.*', API)
application = webapp2.WSGIApplication([
										('/api', API), 
										('/api/writeTest', WriteTest),
										('/api/readTest', ReadTest),
										('/api/cacheTest', MemcacheVsDatastore),
										('/api/cacheView', MemecacheViewer)
									], debug=True)<commit_msg>API endpoint updated for status code<commit_after>#Import google sign in
from handlerBase import Handler
from datastore import *

import webapp2

from constants import *

TESTING = True

if TESTING:
	from testHarness import *
	import logging


class API(Handler):

	def get(self):
		#Display API information
		info = json.dumps({"status_code" : 200, "version" : 2.00, "powered by" : "Xenon Apps"})
		self.response.set_status(200,info)
		self.write(info)
		
#This is the catch all #('.*', API)
application = webapp2.WSGIApplication([
										('/api', API), 
										('/api/writeTest', WriteTest),
										('/api/readTest', ReadTest),
										('/api/cacheTest', MemcacheVsDatastore),
										('/api/cacheView', MemecacheViewer)
									], debug=True)
{'fraction_non_alphanumeric': 0.13161465400271372, 'fraction_numerical': 0.012890094979647219, 'mean_word_length': 3.3255131964809386, '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': '6554355', 'n_tokens_mistral': 601, 'n_tokens_neox': 458, 'n_words': 126}