Skip to content
This repository was archived by the owner on Jul 25, 2020. It is now read-only.

Projects

Mrcomputer1 edited this page Jun 10, 2016 · 1 revision

Projects

/users/:username/projects

Example URL

/users/Mrcomputer1/projects

Supported Methods

GET, POST

GET Variables

:limit and :offset support

POST Variables

  • apikey : API Key
  • do : Favorite, love or view

GET Output

[
    {
        "credits": "First project!",
        "id": 1,
        "usage": "Press green flag",
        "stats": {
            "fav": 341341334,
            "love": 134134123,
            "view": 0,
            "comment": 14134134
        },
        "title": "First project!"
    }
]

POST Variables (Success)

{"success": true, "given": true}

POST Variables (Success)

{"success": false, "human": "(Human error)", "exception": "(Exception)"}

Exceptions

BadPasswordOrAPIKey: Bad password or API key

InvalidDo: Invalid do action

Clone this wiki locally