Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/whyisjake/dash
Simple function for adding Dash Analytics to you site. Could be used on the front end showing trending, popular, and most shared posts.
https://github.com/whyisjake/dash
Last synced: 6 days ago
JSON representation
Simple function for adding Dash Analytics to you site. Could be used on the front end showing trending, popular, and most shared posts.
- Host: GitHub
- URL: https://github.com/whyisjake/dash
- Owner: whyisjake
- License: gpl-2.0
- Created: 2012-10-11T17:01:11.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-10-11T17:25:37.000Z (about 12 years ago)
- Last Synced: 2024-10-10T03:03:26.001Z (about 1 month ago)
- Language: PHP
- Size: 125 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Dash Widget
===========By [Jake Spurlock](http://jakespurlock.com)
This function serves as an easy front end for accessing Parsely Dash Analytics via PHP.
Getting Started
---------------* Add this plugin either to your WordPress theme directory, or include it via php methods.
Diving In
---------* The function has six parameters that can be used.
* $type is the first, currently three options are available: realtime, analytics, and shares.
* $hits is the string that prefaces the hit counter. If `null`, the hit counter isn't added.
* $limit is an integer that limits that amount of posts returned. Default is five.
* $size is an integer to return the width of the image. This is added as a style element on the image, and will not resize the image.
* $api is the sitename/url of the site that you want to get stats for. ie. `makezine.com`.
* $secret is the secret api key. This is not required unless you have this turned on in your accountLicense
-------See LICENSE.