atcoder-problems-api

library for API provided by AtCoder Problems

Ajankohdalta 31.12.2021. Katso uusin versio.

Tätä skriptiä ei tulisi asentaa suoraan. Se on kirjasto muita skriptejä varten sisällytettäväksi metadirektiivillä // @require https://update.greasyfork.org/scripts/437862/1004089/atcoder-problems-api.js.

You will need to install an extension such as Tampermonkey, Greasemonkey 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 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.

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

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

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!)

Tekijä
keymoon
Versio
0.0.1.20211231181243
Luotu
31.12.2021
Päivitetty
31.12.2021
Size
7,94 kt
Lisenssi
N/A

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

機能

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

注意

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