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

Create API in several languages to embed piwik widgets in other websites #5509

Closed
anonymous-matomo-user opened this issue Jan 29, 2008 · 2 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.

Comments

@anonymous-matomo-user
Copy link

We need to create a user friendly API that will generate the javascript code to fetch widget from piwik.

For instance : <script type=“text/javascript” src="http://localhost/piwik-src/?module=Widgetize&action=js&moduleToWidgetize=Home&actionToWidgetize=getPlugin&idSite=1&period=day&date=yesterday</script>

Could be rewritten in php like that:

getWidget(array(“module”=>"Home", “action”=>"getPlugin", …));

@anonymous-matomo-user
Copy link
Author

Is this case for calling the Flash Widgets in different languages? I’m missing the

```
language=de
```

parameter or something that allows us to display the flash in correct languages. Currently it’s English only.

@mattab
Copy link
Member

mattab commented Oct 14, 2008

we will let the community do this work if some developers are interested. This would be too much work for us to maintain and make it useful. Plus the API as is, is quite simple to use.

@anonymous-matomo-user anonymous-matomo-user added this to the Future releases milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

2 participants