Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
janvde authored Sep 12, 2017
1 parent 2e43e5c commit b5d2b77
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ allprojects {
Add the dependency
```
dependencies {
compile 'com.github.roadmaptravel:Rome2RioAndroid:0.1'
compile 'com.github.roadmaptravel:Rome2RioAndroid:0.1.3'
}
```
Expand All @@ -31,6 +31,8 @@ This library makes use of RxAndroid for its calls.
String key = "{YOUR API KEY}"
Rome2RioService service = new Rome2RioApiClient(this, key).getService();

// for more parameters, check the documentation of
// the SearchRequest on https://www.rome2rio.com/documentation/1-4/search/
SearchRequest searchRequest = new SearchRequest.SearchRequestBuilder()
.oName("Delft")
.dName("London")
Expand Down

0 comments on commit b5d2b77

Please sign in to comment.