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

Offset parameter? #11

Open
samunderwood opened this issue May 28, 2020 · 1 comment
Open

Offset parameter? #11

samunderwood opened this issue May 28, 2020 · 1 comment

Comments

@samunderwood
Copy link

One more question if that’s okay. Is it possible to add something to offset what month of data you want to pull?

For example, you can use months=2 to pull the past two months. But if I want to compare to 6 months ago I have to pull 6 months of data rather than just being able to specify I want 1 months worth of data from 6 months ago.

Maybe something like an ?offset=6 parameter or something would be handy?

Then I could do something like:

https://api.crux.run/v1/summary/overview/?domain=www.google.com&months=1

For last month and then:

https://api.crux.run/v1/summary/overview/?domain=www.google.com&months=1&offset=6

For 6 months ago.

@jacobloveless
Copy link
Collaborator

jacobloveless commented May 28, 2020 via email

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

2 participants