-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPointsOfInterestApi.java
46 lines (36 loc) · 1.07 KB
/
PointsOfInterestApi.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package com.deange.uwaterlooapi.api;
import com.deange.uwaterlooapi.model.common.Responses;
import retrofit2.Call;
import retrofit2.http.GET;
public interface PointsOfInterestApi {
/**
* This method returns list of ATMs across campus.
*/
@GET("poi/atms.json")
Call<Responses.ATMs> getATMs();
/**
* This method returns list of Greyhound bus stops across the city.
*/
@GET("poi/greyhound.json")
Call<Responses.Greyhound> getGreyhoundStops();
/**
* This method returns list of photospheres across campus.
*/
@GET("poi/photospheres.json")
Call<Responses.Photospheres> getPhotospheres();
/**
* This method returns list of emergency helplines across campus.
*/
@GET("poi/helplines.json")
Call<Responses.Helplines> getHelplines();
/**
* This method returns list of libraries across the city.
*/
@GET("poi/libraries.json")
Call<Responses.Libraries> getLibraries();
/**
* This method returns list of defibrillators across campus.
*/
@GET("poi/defibrillators.json")
Call<Responses.Defibrillators> getDefibrillators();
}