def reddit(): """Return reddit json data. """ fetcher = Fetch('reddit_inputs.json') data = fetcher.fetch_reddit() return jsonify(data)