boluobaoapi

package module
v0.0.0-...-d53e09b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2023 License: MIT Imports: 7 Imported by: 0

README

API文档

BookInformationApi

获取小说信息

参数
  • NovelId:小说ID(字符串)
返回值
  • bookInfo:小说信息结构体(*structure.BookInfoStructure)

CatalogueApi

获取小说目录

参数
  • NovelID:小说ID(字符串)
返回值
  • CatalogueType:目录信息结构体(structure.CatalogueStructure)

ChapterContentApi

获取章节内容

参数
  • chapter_id:章节ID(字符串)
返回值
  • ContentType:章节内容结构体(structure.ContentStructure)

BookShelfInformationApi

获取书架信息

返回值
  • bookshelfData:书架信息结构体(*structure.BookShelfStructure)

TagInfoApi

获取标签信息

参数
  • TagID:标签ID(字符串)
  • page:页码(字符串)
返回值
  • bookTags:标签信息结构体(structure.TagStructure)

SysTagListApi

获取系统标签列表

返回值
  • sysTags:系统标签信息结构体(structure.SysTagStructure)

FeedsApi

获取动态信息

参数
  • page:页码(字符串)
  • filter:过滤器,可选值为"hot"、"new"、"follow"(字符串)
返回值
  • Discussion:动态信息结构体(*structure.DiscussionStructure)

SpecialPushApi

获取特别推送信息

返回值
  • SpecialPush:特别推送信息结构体(structure.SpecialpushStructure)

ActPushApi

获取活动推送信息

返回值
  • ActPush:活动推送信息结构体(structure.ActpushStructure)

HostPushApi

获取热门推荐信息

返回值
  • fx:热门推荐信息结构体(structure.FXrecommendStructure)

NewBookPushApi

获取新书推荐信息

返回值
  • NewBookRecommend:新书推荐信息结构体(structure.NewBookRecommendStructure)

SearchApi

搜索小说

参数
  • keyword:关键词(字符串)
  • page:页码(字符串)
返回值
  • searchInfo:搜索结果结构体(*structure.SearchStructure)

PutListenTimeApi

记录听书时间

无参数

PutReadingTimeApi

记录阅读时间

无参数

PostReceiveTaskApi

领取任务奖励

参数
  • TaskId:任务ID(字符串)
返回值
  • Message:领取任务结果结构体(*structure.Status)

PutSignInfoApi

签到

无参数
返回值
  • signIn:签到信息结构体(*structure.SignInStructure)

TasksListApi

获取任务列表

返回值
  • taskStruct:任务列表结构体(*structure.TaskStructure)

PutShareApi

分享任务

参数
  • account_id:用户ID(字符串)

PostPocketsApi

加入书架

参数
  • novelId:小说ID(字符串)
返回值
  • Account:用户信息结构体(*structure.AccountStructure)

PostFavsApi

收藏小说

参数
  • novelId:小说ID(字符串)
返回值
  • Account:用户信息结构体(structure.AccountStructure)

RanksApi

获取排行榜信息

参数
  • RankDate:榜单日期,可选值为"ranks/month/novels"、"ranks/all/novels"、"ranks/week/novels"(字符串)
  • RankType:榜单类型,可选值为"view"、"sale"、"newhit"、"ticket"、"mark"、"bonus"(字符串)
  • size:每页大小(整数)
  • page:页码(整数)
返回值
  • RankStruct:排行榜信息结构体(structure.RankStructure)

AccountInformationApi

获取用户信息

返回值
  • Account:用户信息结构体(structure.AccountStructure)

AccountMoneyInformation

获取用户资金信息

返回值
  • Account:用户信息结构体(structure.AccountStructure)

AccountIpApi

获取用户IP信息

返回值
  • AccountIP:用户IP信息结构体(structure.AccountIP)

UserInformationApi

获取用户信息

参数
  • AccountId:用户ID(字符串)
返回值
  • Users:用户信息结构体(structure.UserInfoStructure)

UserWorksApi

获取用户作品信息

参数
  • AccountId:用户ID(字符串)
返回值
  • AuthorInfo:作者信息结构体(structure.AuthorInfo)

UserCommentApi

获取用户评论信息

参数
  • AccountId:用户ID(字符串)
  • page:页码(整数)
返回值
  • AccountComment:评论信息结构体(structure.AccountCommentStructure)

LoginAccountApi

登录账号

参数
  • username:用户名(字符串)
  • password:密码(字符串)
返回值
  • loginInfo:登录信息结构体(*structure.LoginStructure)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompleteTask

func CompleteTask()

func DownloadBookYield

func DownloadBookYield(bookId string, continueChapterId []string) chan structure.ChapterInfo

func FindUserCommentByUserIdApi

func FindUserCommentByUserIdApi(UserId, page string) *structure.AccountCommentStructure

func FindUserInfoByUserIdApi

func FindUserInfoByUserIdApi(userId string) *structure.UserInfoStructure

func GetAccountIP

func GetAccountIP() *structure.AccountIP

func GetActPushApi

func GetActPushApi() *structure.ActpushStructure

func GetBookInfo

func GetBookInfo(NovelId string) *structure.BookInfoData

func GetBookShelfInformation

func GetBookShelfInformation() *structure.BookShelfStructure

func GetBuyBook

func GetBuyBook(novelId string) *client.Utils

func GetBuyChapter

func GetBuyChapter(novelId string, chapterId int) *client.Utils

func GetCatalogueInfo

func GetCatalogueInfo(NovelId string) *structure.CatalogueStructure

func GetCatalogueYield

func GetCatalogueYield(NovelId string) chan structure.ChapterInfo

func GetContentInfo

func GetContentInfo(chapterId string) *structure.ContentStructure

func GetFxBookPushRecommend

func GetFxBookPushRecommend() *structure.FXrecommendStructure

func GetLoginCookie

func GetLoginCookie(username, password string) *structure.LoginStructure

func GetNewBookInfo

func GetNewBookInfo(page string) *structure.RankStructure

func GetNewBookPushRecommend

func GetNewBookPushRecommend() *structure.NewBookRecommendStructure

func GetSaleBookInfo

func GetSaleBookInfo(month bool) *structure.RankStructure

func GetSearchBookInfo

func GetSearchBookInfo(keyword string, page string) *[]structure.BookInfoData

func GetSignInfo

func GetSignInfo() *structure.SignInStructure

func GetSpecialPushApi

func GetSpecialPushApi() *structure.SpecialpushStructure

func GetSysTagList

func GetSysTagList() *structure.SysTagStructure

func GetTagBookInfoList

func GetTagBookInfoList(tagId, notTagId, page string) *structure.TagStructure

func GetUserInfo

func GetUserInfo() *structure.AccountStructure

func GetUserMoneyInfo

func GetUserMoneyInfo() *structure.AccountMoneyStructure

func ReceiveTask

func ReceiveTask(tasksId, tasksName string)

func SetCookie

func SetCookie(sessionApp, sfCommunity string) error

func SetExportDeviceId

func SetExportDeviceId(deviceId string)

Types

This section is empty.

Directories

Path Synopsis
boluobao
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL