/**
  * Display a listing of the resource.
  *
  * @param  Request  $request
  * @return Response
  */
 public function index(Request $request)
 {
     $bbyopen = new BbyOpen();
     return response()->json($bbyopen->getProducts());
 }
 /**
  * Display a listing of the resource.
  *
  * @param  Request  $request
  * @return Response
  */
 public function index(Request $request)
 {
     $bbyopen = new BbyOpen();
     return response()->json($bbyopen->getStores($request->input('location', '78701'), $request->input('radius', 50)));
 }