diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 76fdeaf..e699444 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -7,4 +7,6 @@ Version 4. Version 5. ---------- - - API Key Authorization. API Key required in client constructor. \ No newline at end of file + - API Key Authorization. API Key required in client constructor + - Allow unprefixed params + - Allow custom query parameter name diff --git a/README.md b/README.md index c7384cc..f1e36ae 100644 --- a/README.md +++ b/README.md @@ -262,7 +262,7 @@ $df = new DoofinderApi('6a9abc4dc17351123b1e0198af92e6e9', //hashid true, // get params from request array( 'prefix' => 'sp_df_df_', // prefix to use with toQuerystring. - 'queryParameter' => 'q', // parameter name to use for the query parameter (default: 'query') + 'queryParameter' => 'q', // parameter name to use for the query parameter . starting version 5.1.0 (default: 'query') 'apiVersion' => '3.0', // api version of the search server 'restrictedRequest' => 'post' // use only params from 'post' or 'get' methods. ));