Request for API Usage Limits and Error Documentation

オープン
#519 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
領域
api, documentation

調査の方向性

既存の API ドキュメントと /address/:address エンドポイントの確認から始めます。API のレート制限またはクォータ、エンドポイントで発生する可能性のあるエラーレスポンス、無効なアドレスまたは存在しないアドレスに対するエラーを文書化します。開発者がこの情報を検証とエラーハンドリングに利用できるようになれば、作業は完了です。

索引モデルが issue の本文から書いたものです。

説明

Request for API Usage Limits and Error Documentation

First of all, I want to express my appreciation for the Blockstream.info API. It's a fantastic resource for the Bitcoin community, and the fact that it's provided for free is truly commendable.

However, I've noticed that the current documentation lacks information on API usage limits and potential error responses. This information would be incredibly valuable for developers to ensure we're using the API responsibly and handling errors correctly.

Specifically, I would appreciate clarity on:

  1. Are there any rate limits or usage quotas for the API?
  2. What are the possible error responses for different endpoints?
  3. For the /address/:address endpoint, what specific errors might be returned for an invalid or non-existent address?

Having this information would allow developers to implement proper error handling and avoid unnecessary API calls. For instance, if we knew the exact error response for an invalid Bitcoin address, we could perform a local validation before making an API request, thus reducing unnecessary load on your servers.

As an example of how this could be useful, my use case involves verifying payments, with an expected volume of around 50 calls per month. Knowing how to properly validate addresses and handle potential errors would help me use your API more efficiently.

Thank you for considering this request. Any additional documentation on these aspects would greatly benefit the developer community using your API.

Summary

  • Request: Documentation on API usage limits and error responses
  • Key Points:
    • Rate limits and usage quotas
    • Possible error responses for different endpoints
    • Specific errors for invalid addresses in /address/:address endpoint
  • Use Case: Payment verification (~50 calls/month)
  • Benefit: Improved error handling and API efficiency for developers
主要言語
JavaScript
スター
1.3k
フォーク
527
平均マージ
2日 5時間
マージ済み PR(30日)
4

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Blockstream/esplora のほかの issue

Blockstream/esplora の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。