import json


def return_api_key(path):
	"""Loads the API key from a given file path. 
	The default option is the file, json_files/api_key.json."""
	# Load the API key from the provided file.
	with open(path, 'r') as f_obj:
		api_key = json.load(f_obj)

	return api_key