|
@@ -0,0 +1,18 @@
|
|
|
+package com.livelike.flickersearchlibrary.api.utils
|
|
|
+
|
|
|
+// Constant values for the FlickrApi interface
|
|
|
+internal const val DEFAULT_API_KEY = "3976fde3792b699fbcda31f52e1cb306"
|
|
|
+internal const val JSON_FORMAT = "json"
|
|
|
+internal const val NO_JSON_CALLBACK = true
|
|
|
+
|
|
|
+// Constant Query keys for the Flickr API interface
|
|
|
+internal const val QUERY_API_KEY = "api_key"
|
|
|
+internal const val QUERY_FORMAT = "format"
|
|
|
+internal const val QUERY_NO_JSON_CALLBACK = "nojsoncallback"
|
|
|
+internal const val QUERY_METHOD = "method"
|
|
|
+
|
|
|
+// Constant values for methods supported in the library
|
|
|
+internal const val SEARCH_METHOD = "flickr.photos.search"
|
|
|
+
|
|
|
+// Constant Query keys for methods supported in the library
|
|
|
+internal const val QUERY_TEXT = "text"
|