All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.aipark.api.webservice.AiparkApiEndpointInterface Maven / Gradle / Ivy

Go to download

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]

There is a newer version: 30.06
Show newest version
package de.aipark.api.webservice;

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.getCostsForArea.GetCostsForAreaRequest;
import de.aipark.api.requestsResponse.getCostsForArea.GetCostsForAreaResponse;
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_AREA)
    Observable getCostsForArea(@Body GetCostsForAreaRequest getCostsForAreaRequest);
    @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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy