Skip to content

fabon-f/node-aoj-problem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aoj-problem

get AOJ problem information

Requirement

  • Node

Installation

npm install aoj-problem

API

const getAOJProblemInfo = require("aoj-problem");

getAOJProblemInfo(problemID, language)

  • problemID string
  • language string - Can be "en" or "ja"

Returns Promise that resolves problemInfo

  • problemInfo Object
    • title string - title of the problem
    • description string - description of the problem(HTML)

Example

See example.js

About

get AOJ problem information

Resources

License

Stars

Watchers

Forks

Packages

No packages published