Browse Source

Added APIKEY variable to getArrivalBoard()

master
anghenfil 3 years ago
parent
commit
6ddba598b2
  1. 2
      .gitignore
  2. 2
      app/src/main/java/de/anghenfil/fahrinfo/controller/APIConnector.kt

2
.gitignore

@ -9,4 +9,4 @@
/build
/captures
.externalNativeBuild
/app/src/main/res/xml/secretkey.xml
/app/src/main/java/de/anghenfil/fahrinfo/model/Secret.kt

2
app/src/main/java/de/anghenfil/fahrinfo/controller/APIConnector.kt

@ -13,6 +13,6 @@ import retrofit2.http.GET
interface APIConnector {
@GET("/arrivalBoard?accessId=${APIKEY}&format=json")
fun getDepartureBoard() : Call<DepartureBoard>
@GET("/departureBoard?accessId=XXX&format=json")
@GET("/departureBoard?accessId=${APIKEY}&format=json")
fun getArrivalBoard() : Call<ArrivalBoard>
}
Loading…
Cancel
Save