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

revenue

Mikkel Trolle Larsen edited this page Jul 29, 2017 · 3 revisions

Documentation for the revenue Command

The revenue command creates an earnings report for the interval you specify:

  • urcli revenue - Returns a report for your total earnings from all reviews that you've done.
  • urcli revenue 2015-11-24 - Generates an earnings report for that particular day.
  • urcli revenue 2016-05 - Generates an earnings report for that particular month.
  • urcli revenue 1 (You can use the month numbers, 1-12, as a report period) - This command will generate a report for the whole month of January of the current year. Tip: If you input a future month it will generate a report for the same month of the previous year.
  • urcli revenue today - Generates an earnings report for today.
  • urcli revenue yesterday - Generates an earnings report for yesterday.

About timezones

Udacity uses UTC when registering when a review was completed. Therefore all periods that you request are converted to UTC. Otherwise the revenue displayed would not correspond to what you actually get paid. So if you use the command urcli revenue today it's a UTC day and it has probably started at a very different time than when your day started.

Revenue options

To get really specific you can use the options --from and --to. After the flag you need to write out a valid date in the format, YYYY-MM-DDThh:mm:ss, to which to calculate earnings (where YYYY-MM is required and DD-Thh:mm:ss is optional).

Example: urcli revenue --from 2017-01 --to 2017-05-26, will generate an earnings report for the year 2017 up to (but not including) May 26th.

Average Turnaround Time

Turnaround time for a review is the time period from when the review was assigned up to when you submit it. Average Turnaround Time is the average for all reviews that you have done for that particular project. Faster turnaround times are better, and Udacity asks that you attempt to keep this below 2 hours.