-
Notifications
You must be signed in to change notification settings - Fork 12
SearchAPI
paper777 edited this page Nov 15, 2014
·
1 revision
Location: cn.byrbbs.sdk.api.SearchApi
0.TODO list
/*
* TODO list:
* search article
* search thread by day OR m OR attachment and default parameters(count, page)
*/
1. 搜索版面和目录
/**
* @param board 合法的版面或者目录名字
* @param listener
*/
public void board(String board, RequestListener listener)
2. 按文章标题搜索主题 count=30 page=1
/**
* @param board 单个合法版面
* @param title1 文章标题包含此关键词
* @param title2 文章标题同时包含此关键词
* @param titlen 文章标题不包含此关键词
* @param listener
*/
public void threadByTitle(String board,
String title1, String title2, String titlen,
RequestListener listener)
3. 按作者搜索主题 count=30 page=1
/**
* @param board 合法的单个版面名字
* @param author 文章作者名字
* @param listener
*/
public void threadByAuthor(String board, String author, RequestListener listener)