public class OpenSearch extends RequestBuilder
Parameters:
search - Search string
limit - Maximum amount of results to return
No more than 100 (100 for bots) allowed.
Default: 10
namespace - Namespaces to search
Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8,
9, 10, 11, 12, 13, 14, 15, 100, 101 Default: 0
format -
Example: api.php?action=opensearch&search=Te| Constructor and Description |
|---|
OpenSearch() |
| Modifier and Type | Method and Description |
|---|---|
static OpenSearch |
create() |
OpenSearch |
limit(int limit) |
OpenSearch |
namespace(int... namespaces)
namespace - Namespaces to search
Values (internally separated with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101 Default: 0 |
OpenSearch |
namespace(int namespace)
namespace - a Namespace to search
Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101 Default: 0 |
OpenSearch |
search(String search) |
action, clear, containsKey, containsValue, entrySet, equals, format, get, getParameters, hashCode, isEmpty, keySet, maxage, maxlag, put, putAll, putPipedString, putPipedString, remove, requestid, size, smaxage, toPipedString, toPipedString, toString, values, versionpublic OpenSearch search(String search)
public static OpenSearch create()
public OpenSearch limit(int limit)
public OpenSearch namespace(int namespace)
namespaces - public OpenSearch namespace(int... namespaces)
namespaces - Copyright © 2017 Java Wikipedia API (Bliki engine). All rights reserved.