Skip to content
This repository has been archived by the owner on May 29, 2018. It is now read-only.

geekapk-r/Gaee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gaee GeekApk Good APIs Ruby

好耶,是 GeekApk CLI 客户端!😗

Wow, 还有 Ruby GeekApkR API 交互库!

Gaee 是 GeekApkR API 的 Ruby 面向模型客户端 和 构建基于 Ruby 的 GeekApk 应用程序的库

Gaee 库 的具体食用方法请查看 ri 文档或者 wiki

rake --tasks 来查看所有可用 task

注:rake model 可以查看所有模型支持的方法

依赖关系

  • Ruby 1.9+ 但是,测试的环境是 ruby 2.6.0dev (2018-02-18 trunk 62469) [x86_64-linux]

  • gem install 'json' 因为 API 交换信息是使用 JSON 序列化的

  • gem install 'eventmachine' 'faye' 可选的 如果需要使用可能的即时推送频道的话

  • gem install 'awesome_print' 因为作者比较懒就必须了 CLI 需要打印好看的彩色字体

  • uri 和 net/https HTTP(S) 交互

  • gem 和 rake 构建依赖 包管理和构建工具

模型们

Gaee::MODELS 常量包含模型类列表

具体的模型们:

  • Post 收件箱

  • PM 用户私有记录

  • Comment 评论

  • MessageRecord 消息记录,实现朋友圈的就是它

  • Rank 一个评分

  • App 一个应用

  • Upadte 应用的一个更新

  • Recommend 一个应用推荐

  • User 用户

  • Headline 头条

  • Category 分类

许可证

The MIT License (MIT)
Copyright (c) 2018 duangsuse

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

CLI 用途

坏耶! CLI 正在编写中

Releases

No releases published

Packages

No packages published

Languages