de.aipark.api.sdk.SdkApiEndpointInterface 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.sdk;
import de.aipark.api.parkevent.ParkEventLiveLeavingIntern;
import de.aipark.api.sdk.route.Route;
import de.aipark.api.webservice.Webservice;
import retrofit2.http.Body;
import retrofit2.http.POST;
import rx.Observable;
/**
* Created by torgen on 21.11.17.
*/
public interface SdkApiEndpointInterface {
@POST(Webservice.ADD_ROUTE)
Observable addRoute(@Body Route route);
@POST(Webservice.ADD_LIVE_PARK_EVENT)
Observable addLiveParkEvent(@Body ParkEventLiveLeavingIntern parkEventLiveLeaving);
}