atcoder-problems-api

library for API provided by AtCoder Problems

Version vom 31.12.2021. Aktuellste Version

Dieses Skript sollte nicht direkt installiert werden. Es handelt sich hier um eine Bibliothek für andere Skripte, welche über folgenden Befehl in den Metadaten eines Skriptes eingebunden wird // @require https://update.greasyfork.org/scripts/437862/1004089/atcoder-problems-api.js

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Autor
keymoon
Version
0.0.1.20211231181243
Erstellt am
31.12.2021
Letzte Aktualisierung
31.12.2021
Größe
7,94 KB
Lizenz
n/a

AtCoder Problems にてサポートされている API を外部から利用するためのライブラリです。atcoder-tasks-page-colorizer のために開発されたもので、積極的な仕様変更への追従は保証しません。もちろん、contribution は歓迎です。

機能

  • 2022 年 1 月 1 日現在に公式の API ページで紹介されているものの実装
  • Submissions API で取得した情報の Indexed DB へのキャッシュ

注意

getSubmissions はローカルに情報をキャッシュ(保存)しているため、提出毎に数百バイトの記憶領域を使用します。そのため、数千ユーザー単位の情報を取得するような使い方をした場合は数 GB の容量を使用してしまうことも考えられます。なので、順位表に表示されたユーザー全員について getSubmissions を叩くといった使用方法は推奨しません。