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

deprecate API method 'API.getLastDate' #8784

Closed
NicolasBonduel opened this issue Sep 14, 2015 · 3 comments
Closed

deprecate API method 'API.getLastDate' #8784

NicolasBonduel opened this issue Sep 14, 2015 · 3 comments
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone

Comments

@NicolasBonduel
Copy link

Hello,

The RSS feed on the method getLastDate doesn't seem to work, or the printed error is not the right one.
See on your demo page:
http://demo.piwik.org/?module=API&method=API.getLastDate&date=last10&idSite=1&period=day&format=rss&token_auth=anonymous&translateColumnNames=1

Have a nice day,
Nicolas

@mattab mattab closed this as completed in eaa4c36 Sep 14, 2015
@mattab
Copy link
Member

mattab commented Sep 14, 2015

Hi @NicolasBonduel - thanks for the report. Since we don't use this API in Piwik anymore, I've deprecated it and we will remove it in Piwik 3.0. therefore it's recommended that you don't use it. Cheers

@mattab mattab added this to the 2.15.0 milestone Sep 14, 2015
@NicolasBonduel
Copy link
Author

Well, I have the same problem if I try to use the Live.getLastVisitsDetails method with the RSS format.
(Also the example for this method and the RSS format in the API page of my dashboard is broken because the dateformat is not supported by strtotime)
I use Piwik last current stable version (2.14.3)

@mattab
Copy link
Member

mattab commented Sep 14, 2015

I have the same problem if I try to use the Live.getLastVisitsDetails method with the RSS format.

do you mind create new issue for this? we can likely improve error message or so

@mattab mattab added duplicate For issues that already existed in our issue tracker and were reported previously. Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change. and removed duplicate For issues that already existed in our issue tracker and were reported previously. labels Oct 13, 2015
@mattab mattab changed the title RSS & method API.getLastDate deprecate API method 'API.getLastDate' Oct 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Projects
None yet
Development

No branches or pull requests

2 participants