Skip to content
This repository has been archived by the owner on Feb 8, 2019. It is now read-only.

Implement a request counter to keep track of free usage #34

Open
E3V3A opened this issue Mar 26, 2018 · 0 comments
Open

Implement a request counter to keep track of free usage #34

E3V3A opened this issue Mar 26, 2018 · 0 comments
Labels
api The API data sources we use enhancement help wanted ToDo Things that will be done, eventually. PR welcome!

Comments

@E3V3A
Copy link
Collaborator

E3V3A commented Mar 26, 2018

I suggest we implement a request counter to keep track of the number of GA requests that has been made, so that the users do not exceed their free quota of ~240 requests/month.

When the GA request is understood and processes, it returns a done:true, that we could use.

[ASSTNT] GA Transcription:  { transcription: 'Make me a sandwich',  done: true }

This value need to be:

  • saved upon module shutdown to the file ./assets/googleRC.dat.
  • saved within module for conversation restarts, and remote MM connections.
    gRQC = this.googleRequestCounter
  • shown updated under microphone icon after each successful completion when config option:
    showGRC: true.
@E3V3A E3V3A added enhancement ToDo Things that will be done, eventually. PR welcome! api The API data sources we use help wanted labels Mar 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api The API data sources we use enhancement help wanted ToDo Things that will be done, eventually. PR welcome!
Projects
None yet
Development

No branches or pull requests

1 participant