Methods summary
	
		| 
			 public 
			Illuminate\Http\JsonResponse
			
			 | 
		#
		adsPerLocation( )
			
		 
			
				Returns
					Illuminate\Http\JsonResponseReturns information about the given location
 Author
						Stefano Groenland
 Version
						1.0
 Api
				 | 
	
		| 
			 public 
			Illuminate\Http\JsonResponse
			
			 | 
		#
		adsByType( )
			
		 
			
				Returns
					Illuminate\Http\JsonResponseReturns the advertisements for the given type
 Author
						Stefano Groenland
 Version
						1.0
 Api
				 | 
	
		| 
			 public 
			Illuminate\Http\JsonResponse
			
			 | 
		#
		increaseClickOfAd( )
			
		 
			
				Returns
					Illuminate\Http\JsonResponsereturns success if succesfully updated the click count
 Author
						Stefano Groenland
 Api
				 | 
	
		| 
			 public 
			Illuminate\Http\JsonResponse
			
			 | 
		#
		getDriverOffTablet( )
			
		 
			
				Returns
					Illuminate\Http\JsonResponseReturns the driver associated with the Tablet
 Author
						Stefano Groenland
 Version
						1.0
 Api
				 | 
	
		| 
			 public 
			Illuminate\Http\JsonResponse
			
			 | 
		#
		getRoutes( )
			
		 
			
				Returns
					Illuminate\Http\JsonResponseReturns all routes from our Database in JSON format
 Author
						Stefano Groenland
 Version
						1.0
 Api
				 | 
	
		| 
			 public 
			Illuminate\Http\JsonResponse
			
			 | 
		#
		getRoutesForTaxi( )
			
		 
			
				Returns
					Illuminate\Http\JsonResponseReturns all routes for the specified taxi ID in JSON format
 Author
						Stefano Groenland
 Version
						1.0
 Api
				 | 
	
		| 
			 public 
			Illuminate\Http\JsonResponse
			
			 | 
		#
		getNewsfeeds( )
			
		 
			
				Returns
					Illuminate\Http\JsonResponseReturns all newsfeed links in JSON format
 Author
						Stefano Groenland
 Version
						1.0
 Api
				 | 
	
		| 
			 public 
			Illuminate\Http\JsonResponse
			
			 | 
		#
		sendSOS( )
			
		 
			
				Returns
					Illuminate\Http\JsonResponseUpdates a row in the 'Emergency' table with current location of the taxi sending it.
 Author
						Stefano Groenland
 Version
						1.0
 Api
				 | 
	
		| 
			 public 
			Illuminate\Support\Collection|Illuminate\Http\JsonResponse
			
			 | 
		#
		tabletLogin( )
			
		 
			
				Returns
					Illuminate\Support\Collection|Illuminate\Http\JsonResponse Looks for the relations of a given tablet name if the tablet name exists in the DB,
Returns data from the tablet , the related driver and taxiAuthor
						Stefano Groenland
 Version
						1.0
 Api
				 | 
	
	
		| 
			 public 
			string|static|Illuminate\Http\JsonResponse
			
			 | 
		#
		signalCheck( )
			
		 
			
				Returns
					string|static|Illuminate\Http\JsonResponse Checks if there are any last_seen values with a difference of 20 minutes at the current time when calling this method.
if this is true, it will create an row in the database with the related taxi idAuthor
						Stefano Groenland
 Version
						1.0
 Api
				 | 
	
		| 
			 public 
			static|Illuminate\Http\JsonResponse
			
			 | 
		#
		getSOS( )
			
		 
			
				Returns
					static|Illuminate\Http\JsonResponseGet all Emergency rows from the database.
 Author
						Stefano Groenland
 Version
						1.0
 Api
				 | 
	
	
		| 
			 public 
			Illuminate\Http\JsonResponse
			
			 | 
		#
		sendLocation( )
			
		 
			
				Returns
					Illuminate\Http\JsonResponseUpdates the taxi location with the given params
 Author
						Stefano Groenland
 Version
						1.0
 Api
				 | 
	
		| 
			 public 
			Illuminate\Http\JsonResponse
			
			 | 
		#
		inShift( )
			
		 
			
				Returns
					Illuminate\Http\JsonResponseUpdates the shift value of the given taxi, changes it to true so the taxi is in shift.
 Author
						Stefano Groenland
 Version
						1.0
 Api
				 | 
	
		| 
			 public 
			Illuminate\Http\JsonResponse
			
			 | 
		#
		offShift( )
			
		 
			
				Returns
					Illuminate\Http\JsonResponseUpdates the shift value of the given taxi, changes it to false so the taxi is off shift.
 Author
						Stefano Groenland
 Version
						1.0
 Api
				 | 
	
		| 
			 public 
			Illuminate\Http\JsonResponse
			
			 | 
		#
		requestReturnRide( )
			
		 
			
				Returns
					Illuminate\Http\JsonResponse Uses a ton of inputs to define the return route and request it.
It will create a row in the database and the admins need to assign them to a driver,
if possible.Author
						Stefano Groenland
 Version
						1.0
 Api
				 | 
	
		| 
			 public 
			Illuminate\Http\JsonResponse
			
			 | 
		#
		postBase( )
			
		 
			
				Returns
					Illuminate\Http\JsonResponseUses the given inputs to create a new location in the DB for the google maps base markers.
 Author
						Stefano Groenland
 Version
						1.0
 Api
				 | 
	
		| 
			 public 
			mixed
			
			 | 
		#
		getLocations( )
			
		 
			
				Returns
					mixedReturns all locations of the current in shift taxi's where they have coordinates stored in the DB.
 Author
						Stefano Groenland
 Version
						1.0
 Api
				 | 
	
		| 
			 public 
			mixed
			
			 | 
		#
		getBaseLocations( )
			
		 
			
				Returns
					mixedReturns all locations of the defined bases stored in the DB.
 Author
						Stefano Groenland
 Version
						1.0
 Api
				 | 
	
		| 
			 public 
			mixed
			
			 | 
		#
		getShiftState( )
			
		 
			
				Returns
					mixedReturns the given taxi's
 in_shiftvalue Author
						Stefano Groenland
 Version
						1.0
 Api
				 | 
	
		| 
			 public 
			string
			
			 | 
		#
		getLocationsInRadius( )
			
		 
			
				Returns
					stringUses the geobyte API for nearby cities in a radius arround the lat & long coords of a given location.
 Author
						Stefano Groenland
 | 
	
		| 
			 public 
			mixed
			
			 | 
		#
		statisticsDataYear( )
			
		 
			
				Returns
					mixedReturns all clicks for the given year.
 Author
						Stefano Groenland
 | 
	
		| 
			 public 
			mixed
			
			 | 
		#
		statisticsDataMonth( )
			
		 
			
				Returns
					mixedReturns all clicks for the given month.
 Author
						Richard Perdaan
 | 
	
		| 
			 public 
			mixed
			
			 | 
		#
		statisticsDataWeek( )
			
		 
			
				Returns
					mixedReturns all clicks for the given month.
 Author
						Richard Perdaan
 |