1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Ruboty | BestGems の検索結果を表示する ruboty-bestgems を作成しました #ruboty

Posted at

BestGems の検索結果を表示する ruboty-bestgems を作成しました

概要

BestGems の検索結果を表示する ruboty-bestgems を作成しました

用途

任意の gem の

  • 総ダウンロード数
  • 日次ダウンロード数
  • 総ランキング
  • 日次ランキング

を取得します

Installation

Add this line to your application's Gemfile:

gem 'ruboty-bestgems'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ruboty-bestgems

Commands

Command Pattern Description
total_downloads /total_downloads (?<gem_name>.+)\z/ latest total_download count
daily_downloads /daily_downloads (?<gem_name>.+)\z/ latest daily_download count
total_ranking /total_ranking (?<gem_name>.+)\z/ latest total_ranking
daily_ranking /daily_ranking (?<gem_name>.+)\z/ latest daily_ranking

Usage

total_downloads

  • latest total_download count
>ruboty total_downloads ruboty-megen
>356

daily_downloads

  • latest daily_download count
>ruboty daily_downloads ruboty-megen
>10

total_ranking

  • latest total_ranking
>ruboty total_ranking ruboty-megen
>84052

daily_ranking

  • latest daily_ranking
>ruboty daily_ranking ruboty-megen
>12021

ENV

Name Description
-- --

Dependency

Name Description
BestGems API version 1 BestGems API version 1

Tools

※ Ruboty Handler Plugin の作成には以下のジェネレータを使っています

参照

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?