Home

svengiegerich edited this page Apr 15, 2012 · 17 revisions
Clone this wiki locally

#Function Reference

##Recommendation

  • getRecommendation($id)
  • getRecommendationList($username or $articleId)
  • getRecommendationListByUser($username, $scope = 'time', $page = 0, $pageSize = false)
  • getRecommendationListByArticle($articleId, $scope = 'time', $page = 0, $pageSize = false)

##Article

  • getArticle($id or $url)
  • getArticleById($id)
  • getArticleByUrl($url)
  • getArticleListByPage($pageId, $scope = 'time', $page = 0, $pageSize = false)
  • getArticleListByCategories($categoryIds, $language = 'any', $scope = 'time', $page = 0, $pageSize = false)

##Page

  • getPage($domain or $pageId)
  • getPageByDomain($domain)
  • getPageById($pageId)
  • getPageList($page = 0, $pageSize = false)

##User

  • getUser($userName or $userId)
  • getUserByName($userName)
  • getUserById($userId)
  • userListFollowers($user, $page = 0, $pageSize = false)
  • userListFollowings($user, $page = 0, $pageSize = false)

and last but not least:

##Category

  • getCategories()
  • getCategoryByName($categoryName)