Swader / diffbot-php-client

[Deprecated - Maintenance mode - use APIs directly please!] The official Diffbot client library
MIT License
53 stars 20 forks source link

Account API #33

Open Swader opened 8 years ago

Swader commented 8 years ago

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

Swader commented 8 years ago

Consider making a fancy default dashboard.

Swader commented 8 years ago

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?