V2exAPI

V2ex API 的 Swift 封装,支持 iOS/macOS (A V2ex API wrapper for iOS/macOS, built with Swift)

MIT License

Stars
46
Committers
2

Bot releases are hidden (Show)

V2exAPI - 1.1.1 Latest Release

Published by isaced about 1 year ago

  • Model 添加支持 Hashable 协议
V2exAPI - 1.1.0

Published by isaced almost 2 years ago

  • 增加 API:回复列表 /api/replies/show.json (无需认证)
  • nodesList 接口支持自定义 fields 等其他参数
V2exAPI - 1.0.3

Published by isaced about 2 years ago

  • 开放 URLSession 实例用于更多定制化(如 Proxy)
V2exAPI - 1.0.2

Published by isaced about 2 years ago

  • 获取回复列表接口 (replies) 增加回复者头像字段 avatar
V2exAPI - 1.0.1

Published by isaced about 2 years ago

  • 修复部分类型声明问题
V2exAPI - 1.0.0

Published by isaced about 2 years ago

第一个正式版本发布,API 覆盖度 100%。

V1

接口 路径 进度
最热主题 /api/topics/hot.json
最新主题 /api/topics/latest.json
节点信息 /api/nodes/show.json
用户主页 /api/members/show.json

V2

接口 路径 进度
获取最新的提醒 notifications
删除指定的提醒 notifications/:notification_id
获取自己的 Profile member
查看当前使用的令牌 token
获取指定节点 nodes/:node_name
获取指定节点下的主题 nodes/:node_name/topics
获取指定主题 topics/:topic_id
获取指定主题下的回复 topics/:topic_id/replies
V2exAPI - 0.0.2

Published by isaced about 2 years ago

添加接口:

  • 获取指定节点 nodes/:node_name
  • 获取指定主题 topics/:topic_id

V2 完成度 50%

V2exAPI - 0.0.1

Published by isaced about 2 years ago