MediaWiki Sparkline Generator 📈

Generate a sparkline showing the contribution history of a MediaWiki user.







API Documentation

Retrieve a Sparkline

Retrieve a sparkline showing the contribution history of a MediaWiki user.

                
GET /?username=[]&api_url=[]
                
            

Example:

                
GET /?username=User:Jamesg.blog&api_url=https://indieweb.org/wiki/api.php
                
            

Returns:

To see raw metadata, do not include the &only_image=true parameter.

Embed Your Sparkline

Embed your sparkline in your website by using the following code:

                
<embed src="https://sparkline.jamesg.blog/?username=[username]&api_url=[api_url]&only_image=true" type="image/svg+xml" />