de.aipark.api.webservice.AiparkApiEndpointInterface Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aipark-api Show documentation
Show all versions of aipark-api Show documentation
AIPARK offers detailed parking information for more than 1.8 Mio parking areas in Germany
with nationwide coverage. Additionally, accurate occupancy predictions are derived using data from
a network of more than 5 million smartphones. Use the AIPARK API Explorer application to try out and
test the interface. Please send a request via email if you are a developer and require an API key.
We'll be in touch with you shortly. This application is provided via a demo backend environment.
Please note that API load tests do not reflect the performance of the productive system.
Mail: [email protected]
package de.aipark.api.webservice;
import de.aipark.api.datasource.Datasource;
import de.aipark.api.livedata.spot.LiveSpot;
import de.aipark.api.parkevent.ParkEventLiveLeaving;
import de.aipark.api.requestsResponse.getChargingStationsForPosition.GetChargingStationsForPositionRequest;
import de.aipark.api.requestsResponse.getChargingStationsForPosition.GetChargingStationsForPositionResponse;
import de.aipark.api.requestsResponse.getChargingStationsForTile.GetChargingStationsForTileRequest;
import de.aipark.api.requestsResponse.getChargingStationsForTile.GetChargingStationsForTileResponse;
import de.aipark.api.requestsResponse.getCostsForParkingAreas.GetCostsForParkingAreasRequest;
import de.aipark.api.requestsResponse.getCostsForParkingAreas.GetCostsForParkingAreasResponse;
import de.aipark.api.requestsResponse.getDatasourcesToPublishForMergedId.ParkingAreaRequest;
import de.aipark.api.requestsResponse.getLiveParkEvents.GetLiveParkEventsRequest;
import de.aipark.api.requestsResponse.getLiveSpots.GetLiveSpotsForTileRequest;
import de.aipark.api.requestsResponse.getOccupancyForParkingAreas.GetOccupancyForParkingAreasRequest;
import de.aipark.api.requestsResponse.getOccupancyForParkingAreas.GetOccupancyForParkingAreasResponse;
import de.aipark.api.requestsResponse.getOptimalTrip.GetOptimalTripRequest;
import de.aipark.api.requestsResponse.getOptimalTrip.GetOptimalTripResponse;
import de.aipark.api.requestsResponse.getParkingAreasForPosition.GetParkingAreasForPositionRequest;
import de.aipark.api.requestsResponse.getParkingAreasForPosition.GetParkingAreasForPositionResponse;
import de.aipark.api.requestsResponse.getParkingAreasForPositionWithOccupancy.GetParkingAreasForPositionWithOccupancyRequest;
import de.aipark.api.requestsResponse.getParkingAreasForPositionWithOccupancy.GetParkingAreasForPositionWithOccupancyResponse;
import de.aipark.api.requestsResponse.getParkingAreasForPositionWithOccupancyForDeparture.GetParkingAreasForPositionWithOccupancyForDepartureRequest;
import de.aipark.api.requestsResponse.getParkingAreasForTile.GetParkingAreasForTileRequest;
import de.aipark.api.requestsResponse.getParkingAreasForTile.GetParkingAreasForTileResponse;
import de.aipark.api.requestsResponse.getParkingAreasForTileWithOccupancy.GetParkingAreasForTileWithOccupancyRequest;
import de.aipark.api.requestsResponse.getParkingAreasForTileWithOccupancy.GetParkingAreasForTileWithOccupancyResponse;
import de.aipark.api.requestsResponse.getParkingAreasForTileWithOccupancyForDeparture.GetParkingAreasForTileWithOccupancyForDepartureRequest;
import retrofit2.http.Body;
import retrofit2.http.POST;
import rx.Observable;
import java.util.List;
/**
* Created by mathias on 28.02.16.
*/
public interface AiparkApiEndpointInterface {
@POST(Webservice.GET_PARKING_AREAS_FOR_TILE)
Observable getParkingAreasForTile(@Body GetParkingAreasForTileRequest tileParkingAreasRequest);
@POST(Webservice.GET_OCCUPANCY_FOR_PARKING_AREAS)
Observable getOccupancyForParkingAreas(@Body GetOccupancyForParkingAreasRequest getOccupancyForParkingAreasRequest);
@POST(Webservice.GET_PARKING_AREAS_FOR_TILE_WITH_OCCUPANCY)
Observable getParkingAreasForTileWithOccupancy(@Body GetParkingAreasForTileWithOccupancyRequest getParkingAreasForTileWithOccupancyRequest);
@POST(Webservice.GET_PARKING_AREAS_FOR_TILE_WITH_OCCUPANCY_FOR_DEPARTURE)
Observable getParkingAreasForTileWithOccupancyForPosition(@Body GetParkingAreasForTileWithOccupancyForDepartureRequest getParkingAreasForTileWithOccupancyForPositionRequest);
@POST(Webservice.GET_PARKING_AREAS_FOR_POSITION)
Observable getParkingAreasForPosition(@Body GetParkingAreasForPositionRequest getParkingAreasForPositionRequest);
@POST(Webservice.GET_PARKING_AREAS_FOR_POSITION_WITH_OCCUPANCY)
Observable getParkingAreasForPositionWithOccupancy(@Body GetParkingAreasForPositionWithOccupancyRequest getParkingAreasForPositionRequest);
@POST(Webservice.GET_PARKING_AREAS_FOR_POSITION_WITH_OCCUPANCY_FOR_DEPARTURE)
Observable getParkingAreasForPositionWithOccupancyForPosition(@Body GetParkingAreasForPositionWithOccupancyForDepartureRequest getParkingAreasForPositionRequest);
@POST(Webservice.GET_OPTIMAL_TRIP)
Observable getOptimalTrip(@Body GetOptimalTripRequest getOptimalTripRequest);
@POST(Webservice.GET_LIVE_PARK_EVENTS)
Observable> getLiveParkEvents(@Body GetLiveParkEventsRequest getLiveParkEventsRequest);
@POST(Webservice.GET_COSTS_FOR_PARKING_AREAS)
Observable getCostsForParkingAreas(@Body GetCostsForParkingAreasRequest getCostsForParkingAreasRequest);
@POST(Webservice.GET_CHARGING_STATIONS_FOR_TILE)
Observable getChargingStationsForTile(@Body GetChargingStationsForTileRequest getChargingStationsForTileRequest);
@POST(Webservice.GET_CHARGING_STATIONS_FOR_POSITION)
Observable getChargingStationsForPosition(@Body GetChargingStationsForPositionRequest getChargingStationsForPositionRequest);
@POST(Webservice.GET_LIVE_SPOTS_FOR_TILE)
Observable> getLiveSpotsForTile(@Body GetLiveSpotsForTileRequest getLiveSpotsForTileRequest);
@POST(Webservice.GET_DATASOURCES_TO_PUBLISH_FOR_MERGED_ID)
Observable> getDatasourcesToPublishForParkingArea(@Body ParkingAreaRequest parkingAreaRequest);
}