Most of the posts at Labs are parsed ReadMe.md
markdown files from relevant GitHub repositories. I built WPGitHubAPI plugin for this very reason. Look at the parsed content below as compared with this ReadMe.md file.
[wga]
Shortcode to obtain resources from official GitHub API v3.
NOTE: WPGitHubAPI plugin uses transients to cache the counts for 24 * HOUR_IN_SECONDS
.
[wga]
shortcode accepts following parameters
u='api_url'
where api_url
is the part of API after https://api.github.com/
E.g. users/ahmadawais
will return my profile data.d='data'
where data
is the object's data you want to retrieve E.g. followers
will return the number of followers for my profile.r='y'
attribute in the shortcode.h1
with h1=y|n
attribute in the shortcode.h1
to h2
with h2=y|n
attribute in the shortcode.[wga u='users/ahmadawais' d='followers']
You can use GitHub Updater to receive updates for this plugin.
h1
with h1=y|n
.h1
to h2
with h2=y|n
.r='y'
attribute in the shortcode.README.txt
./
in the beginning or at the end.Licensed under GNU GPL v2.0. Copyright (C) 2016 Ahmad Awais.
This open source project is maintained by the help of awesome businesses listed below. What? Read more about it →