diff options
Diffstat (limited to 'plugins/ExampleAPI/ExampleAPI.php')
-rw-r--r-- | plugins/ExampleAPI/ExampleAPI.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/ExampleAPI/ExampleAPI.php b/plugins/ExampleAPI/ExampleAPI.php new file mode 100644 index 0000000000..b9e24f1e9e --- /dev/null +++ b/plugins/ExampleAPI/ExampleAPI.php @@ -0,0 +1,15 @@ +<?php +class Piwik_ExampleAPI extends Piwik_Plugin +{ + public function getInformation() + { + return array( + // name must be the className prefix! + 'name' => 'ExampleAPI', + 'description' => 'Example Plugin: How to create an API for your plugin, to export your data in multiple formats without any special coding? Visit the <a href="index.php?module=CoreAdminHome&action=showInContext&moduleToLoad=API&actionToLoad=listAllAPI&module=CoreAdminHome&action=showInContext#ExampleAPI">ExampleAPI example methods</a>.', + 'author' => 'Piwik', + 'homepage' => 'http://piwik.org/', + 'version' => '0.1', + ); + } +}
\ No newline at end of file |