Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 1.32 KB

CONTRIBUTING.md

File metadata and controls

29 lines (17 loc) · 1.32 KB

Contribution and Hacking Guide

links:

For committer of oj-api command / oj-api コマンド本体への貢献者へ

How to add a new online judge service

Do following steps:

  1. Make a file onlinejudge/service/YOUR_SERVICE.py in a way similar to other files
    • Implement a subclass of onlinejudge.type.Service
    • Implement a subclass of onlinejudge.type.Problem
  2. Register the module to onlinejudge/service/__init__.py
  3. Add tests to tests/
  4. Update documents like README.md

For developpers of programs which uses oj-api command / oj-api コマンドを用いたツールの開発者へ

  • For the JSON interface, the document exist at README.md.
  • You should know the existence of jmerle/competitive-companion. We recommend you to write programs which accept JSON from both API clients.