Skip to content
This repository has been archived by the owner on Aug 15, 2018. It is now read-only.

Latest commit

 

History

History
72 lines (48 loc) · 3.35 KB

README.md

File metadata and controls

72 lines (48 loc) · 3.35 KB

CLI tool for the Udacity Reviews API

urcli is a Command Line Interface for configuring and running API calls against the Udacity Reviews API.

npm downloads npm version npm license


IMPORTANT NOTICE: The Udacity Reviews API has been shut down. urcli no longer works and this repo has been archived. Thanks to everyone who contributed with code and ideas!


Requirements

  • Node.js v6.0.0 or higher
  • NPM (v3.0.0+ recommended) (this comes with Node.js)

⚡ Quickstart

  1. Run npm install -g urcli.
  2. Get a new token from the API Access link in the Reviewer Dashboard. Token retrieval
  3. Run urcli setup. When prompted, paste in the token you just got and then go through the rest of the setup.
  4. Run urcli assign proceeded by valid project ids for projects you are certified for. Ex:
    • urcli assign 145, places you in the queue for project 145.
    • urcli assign 134 145 46, places you in the queues for project 145, 134 and 46.
    • urcli assign all, places you in the queue for every project you are certified for.
  5. Profit! (literally).

Upgrade

  1. Get a new token (See Quickstart #2).
  2. Press ESC to stop the currently running instance (If you have urcli running).
  3. Run npm i -g urcli.
  4. Run urcli setup.
  5. Run your assign command, urcli assign all.

Executables

If you don't know how to use Node and npm, you can use the executables instead. See the wiki entry for more.

Documentation

Documentation can be found in the Wiki. Commands:

The configuration file

The setup command creates a configuration folder in your home folder. You find the configuration file here ~/.urcli/config.json.

Contributing

Got a question or an idea? Found a bug? Check out our contributing guidelines for ways to offer feedback and contribute.

For very minor changes:

  1. Fork this repository
  2. Create your branch (git checkout -b my-new-thing)
  3. Commit your changes (git commit -am 'commit-message')
  4. Push to the branch (git push origin my-new-thing)
  5. Create a new Pull Request

For new features you need to do everything above, but before you write any code you should first read the contributing guidelines and then open an issue explaining what you have in mind. Making sure your feature fits with the direction the project is going can save you a lot of otherwise wasted effort.

License

MIT © Mikkel Trolle Larsen.