solscan api ruby
1.0.0
Solscan API 的 Ruby 用戶端。這個 gem 為 Solscan API 提供了包裝方法 https://public-api.solscan.io/docs
這個 gem 需要 Ruby 2.6+。它可能適用於較低版本,但未經測試。將以下行新增至您的 Gemfile 中:
寶石“solscan_api_ruby”
然後運行bundle install
method_wrapper = SolscanApiRuby::Methods::Public.newresponse = method_wrapper.block_lastresponse.successfull?response.statusresponse.headersresponse.body
Solscan 文件中提到某些端點的記錄數限制為 50 條,但您可以嘗試取得比這更多的記錄。