def trending_songs(): db = DBAccess() trending_songs = db.get_trending_songs() return jsonify(trending=trending_songs)