Run an Example

{
  "assignment": {
    "a": "y",
    "b": "z",
    "c": "x"
  },
  "weight": 70
}

Install & Use

Use

curl -X POST -d '{
    "a": {
        "x": 10,
        "y": 15,
        "z": 20
    },
    "b": {
        "x": 20,
        "y": 15,
        "z": 25
    },
    "c": {
        "x": 30,
        "y": 25,
        "z": 20
    }
}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/paranoia/AssignmentProblem/0.1.0