com.douban.models

Book

Related Docs: class Book | package models

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: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. def addAnnotationPicture(index: Int): String

    添加笔记图片,

    添加笔记图片,

    index

    图片序号,本笔记中第几个图片

    returns

    图片展示的tag,直接添加到笔记内容中

  5. def annotation(annotationId: Long, format: String = "text"): Annotation

    获取某篇笔记的信息

    获取某篇笔记的信息

    format

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

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

    获取某本图书的所有笔记

  7. def annotationsOfUser(userId: Long, search: ListSearchPara = new ListSearchPara()): AnnotationSearchResult

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

  8. val api_prefix: String

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

    Definition Classes
    Any
  10. val bub_prefix: String

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

    根据isbn获取图书信息

  12. def byId(id: Long): Book

    通过id获取

    通过id获取

    Definition Classes
    API
  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def collectionOf(bookId: Long, userId: String = ""): Collection

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

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

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

  16. def deleteAnnotation(annotationId: Long): Boolean

    用户刪除某篇笔记

  17. def deleteCollection(bookId: Long): Boolean

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

  18. def deleteReview(reviewId: Long): Boolean

    删除评论

    删除评论

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  24. val idUrl: String

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

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

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

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

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

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

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

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

    用户给某本图书写笔记

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

    用户收藏某本图书

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

    发表新评论

    发表新评论

    Definition Classes
    BookMovieMusicAPI
  33. 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
  34. def searchUrl: String

    Attributes
    protected
    Definition Classes
    BookMovieMusicAPI
  35. var secured: Boolean

    Definition Classes
    API
  36. val shuo_prefix: String

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

    Definition Classes
    AnyRef
  38. def tagsOf(userId: Long): TagsResult

    获取用户对Items的所有标签

    获取用户对Items的所有标签

    Definition Classes
    BookMovieMusicAPI
  39. def toString(): String

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

    用户修改某篇笔记

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

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

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

    修改评论

    修改评论

    Definition Classes
    BookMovieMusicAPI
  43. def url_prefix: String

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. 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