diffbot-php-client icon indicating copy to clipboard operation
diffbot-php-client copied to clipboard

Account API

Open Swader opened this issue 10 years ago • 2 comments

There's a new API: https://www.diffbot.com/dev/docs/account/

Swader avatar Nov 01 '15 17:11 Swader

Consider making a fancy default dashboard.

Swader avatar Nov 08 '15 17:11 Swader

API is too simple for a dedicated API class, but an Account entity could be useful, especially if combined with the recently added Carbon to get date ranges, sorting, and who knows what else.

Todo:

  1. Write AccountTest
  2. Build Account entity
  3. Use Carbon to add ranges, filtering, sorting, etc.

For the Dash, use Vue.js:

  1. Password field in which to add token. "Show plain" button.
  2. "Remember token" button saves token to localStorage and uses it on every subsequent visit
  3. All data for days before current day gets cached in localStorage - past is immutable, so saving it for further processing of already cached date ranges will be ultra fast. Checking for existing range will need to be done in JS.
  4. Add animated charts with high scores (highest API calls count)
  5. Add list of invoices (ask team for some mock invoices on account), sum by year?

Swader avatar Nov 08 '15 18:11 Swader