Skip to content

maratonusp/simone

Repository files navigation

Build Status

simone

simone is a standardized online judge API (for ICPC-like competitions). That means it provides the same API for all judges, and should be used when you need to obtain info about different online judges and don't want to deal with how differently they are stored in each of them.

simone stands for "Simone Integrates Most ONline judgEs", or something like that. Acronyms don't mean much these days.

Which judges does it support?

For now: Codeforces, CSAcademy and CodeChef.

What can it do?

For now, it supports getting contest lists.

How do I use it?

Pretty easy. The following code will print the name and judges of all upcoming contests.

const simone = require('simone');
simone.getContests({ startFrom: new Date() }).then(list =>
  list.forEach(contest => {
    console.log(
      'Contest named ' + contest.name + ' from judge ' + contest.judge + '.',
    );
  }),
);

Documentation?

None so far. Check getContests, flow types should help understanding the return values.

Can I help?

Sure. Send a pull request.

About

Standardized Online Judge API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •