Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing support for SMAPI Metrics API v2 #739

Open
ilovelinux opened this issue Aug 15, 2023 · 1 comment
Open

Missing support for SMAPI Metrics API v2 #739

ilovelinux opened this issue Aug 15, 2023 · 1 comment

Comments

@ilovelinux
Copy link

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Performance issue
[X] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

SMAPI client supports the older and very limited Metrics API v1, but it doesn't support the newest and improved Metrics API v2.

Expected Behavior

Support for Metrics API v2

Current Behavior

Missing support for Metrics API v2. Only Metrics API v1 are supported.

Possible Solution

Implement Metrics API v2 support.

Context

We need to fetch Alexa skill's metrics in order to make statistics and analytics charts about it. We are currently limited to one week (Metrics API v1 limit) and it doesn't fit very well our needs. We would really like to have Metrics API v2 support in order to make statistics about periods longer than one week.

Your Environment

  • ASK SDK for Node.js used: 2.30.4
  • Operating System and version: Mac OS X

Node.js and NPM Info

  • Node.js version used for development: 20.5.0
  • NPM version used for development: 9.8.0
@ilovelinux
Copy link
Author

I created a npm package based on ASK Smapi SDK to fetch data from metrics v2 api: https://www.npmjs.com/package/ask-metrics-v2

Repository: https://github.com/ilovelinux/ask-metrics-v2

I could make a PR to official repositories when I'll find the time to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant