Skip to content

Commit

Permalink
Add Flickr search &tags=night
Browse files Browse the repository at this point in the history
  • Loading branch information
ccjeng committed Dec 20, 2016
1 parent 96bb46a commit 12026fa
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "com.ccjeng.weather"
minSdkVersion 16
targetSdkVersion 25
versionCode 7
versionName "1.3.2.112916W"
versionCode 8
versionName "1.3.3.122016W"
}
buildTypes {
release {
Expand All @@ -28,11 +28,11 @@ android {
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:25.0.1'
compile 'com.android.support:design:25.0.1'
compile 'com.android.support:recyclerview-v7:25.0.1'
compile 'com.android.support:cardview-v7:25.0.1'
compile 'com.android.support:gridlayout-v7:25.0.1'
compile 'com.android.support:appcompat-v7:25.1.0'
compile 'com.android.support:design:25.1.0'
compile 'com.android.support:recyclerview-v7:25.1.0'
compile 'com.android.support:cardview-v7:25.1.0'
compile 'com.android.support:gridlayout-v7:25.1.0'
compile 'com.google.android.gms:play-services-location:10.0.1'
compile 'com.google.android.gms:play-services-places:10.0.1'
compile 'com.google.firebase:firebase-core:10.0.1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public interface PhotoServiceEndpoint {
* **/
//https://api.flickr.com/services/rest/?method=flickr.photos.search&group_id=1463451@N25&tag_mode=all&format=json&nojsoncallback=1&sort=random&api_key=dc7cb6cc8e546dd0fb6d3a1ba5bfa971

@GET("?method=flickr.photos.search&group_id=1463451@N25&tag_mode=all&format=json&nojsoncallback=1&sort=random")
@GET("?method=flickr.photos.search&group_id=1463451@N25&tag_mode=all&format=json&nojsoncallback=1&sort=random&&tags=night")
Observable<Flickr> getPhotos(@Query("api_key") String APIKEY
, @Query("lat") String lat
, @Query("lon") String lon);
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.2'
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
classpath "io.realm:realm-gradle-plugin:1.2.0"
classpath 'com.google.gms:google-services:3.0.0'
Expand Down

0 comments on commit 12026fa

Please sign in to comment.