com.douban.models

Book

object Book extends BookMovieMusicAPI[Book, BookSearchResult, BookReview] with Serializable

Copyright by Joseph J.C. Tang
Email: [email protected]
see:
豆瓣图书API

Version

1.0

Since

12/26/12 8:07 PM

See also

http://developers.douban.com/wiki/?title=book_v2

Linear Supertypes
Serializable, Serializable, BookMovieMusicAPI[Book, BookSearchResult, BookReview], API[Book], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Book
  2. Serializable
  3. Serializable
  4. BookMovieMusicAPI
  5. API
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def annotation(annotationId: Long, format: String = "text"): Annotation

    获取某篇笔记的信息

    获取某篇笔记的信息

    format

    返回content字段格式 选填(编辑伪标签格式:text, HTML格式:html),默认为text

  7. def annotationsOf(bookId: Long, a: AnnotationSearch = new AnnotationSearch): AnnotationSearchResult

    获取某本图书的所有笔记

  8. def annotationsOfUser(userId: String): AnnotationSearchResult

    获取某个用户的所有笔记 默认按update_time倒序排列

  9. val api_prefix: String

    Definition Classes
    API
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. val bub_prefix: String

    Definition Classes
    API
  12. def byISBN(isbn: String): Book

    根据isbn获取图书信息

  13. def byId(id: Long): Book

    通过id获取

    通过id获取

    Definition Classes
    API
  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. def collectionOf(bookId: Long): Collection

    获取用户对某本图书的收藏信息

  16. def collectionsOfUser(userId: Long, c: CollectionSearch = new CollectionSearch): CollectionSearchResult

    获取某个用户的所有图书收藏信息

  17. def deleteAnnotation(annotationId: Long): Boolean

    用户刪除某篇笔记

  18. def deleteCollection(bookId: Long): Boolean

    用户删除对某本图书的收藏

  19. def deleteReview(reviewId: Long): Boolean

    删除评论

    删除评论

    Definition Classes
    BookMovieMusicAPI
  20. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  23. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  25. val idUrl: String

    Attributes
    protected
    Definition Classes
    API
  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. def popTags(id: Long): TagsResult

    获取某个Item中标记最多的标签

    获取某个Item中标记最多的标签

    Definition Classes
    BookMovieMusicAPI
  31. def postAnnotation(bookId: Long, a: AnnotationPosted, withResult: Boolean = true): Option[Annotation]

    用户给某本图书写笔记

  32. def postCollection(bookId: Long, c: CollectionPosted, withResult: Boolean = true): Option[Collection]

    用户收藏某本图书

  33. def postReview[R <: ReviewPosted](r: R, withResult: Boolean = true): Option[BookReview]

    发表新评论

    发表新评论

    Definition Classes
    BookMovieMusicAPI
  34. def search(query: String, tag: String, page: Int = 1, count: Int = 20): BookSearchResult

    搜索,query/tag必传其一

    搜索,query/tag必传其一

    query

    查询关键字

    tag

    查询标签

    page

    显示第几页

    count

    每页显示数量

    returns

    Definition Classes
    BookMovieMusicAPI
  35. def searchUrl: String

    Attributes
    protected
    Definition Classes
    BookMovieMusicAPI
  36. var secured: Boolean

    Definition Classes
    API
  37. val shuo_prefix: String

    Definition Classes
    API
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  39. def tags(userId: Long): TagsResult

    获取用户对Items的所有标签

    获取用户对Items的所有标签

    Definition Classes
    BookMovieMusicAPI
  40. def toString(): String

    Definition Classes
    AnyRef → Any
  41. def updateAnnotation(annotationId: Long, a: AnnotationPosted, withResult: Boolean = true): Option[Annotation]

    用户修改某篇笔记

  42. def updateCollection(bookId: Long, c: CollectionPosted, withResult: Boolean = true): Option[Collection]

    用户修改对某本图书的收藏

  43. def updateReview[R <: ReviewPosted](reviewId: Long, r: R, withResult: Boolean = true): Option[BookReview]

    修改评论

    修改评论

    Definition Classes
    BookMovieMusicAPI
  44. def url_prefix: String

    Attributes
    protected
    Definition Classes
    BookAPI
  45. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  46. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  47. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Serializable

Inherited from Serializable

Inherited from API[Book]

Inherited from AnyRef

Inherited from Any

Ungrouped