Create a badge, embed it in your post, maintain it and let the community update the badge when its information is out of date.
The embadge API supports generating badges for your Ember projects on Github. The API for github badges is
- Your Github username or organization.
- The name of your repository.
- The branch you want to create the badge for (e.g. master).
- The package from your package.json you want the badge for. This will also be your default label.
labelGET-parameter that will replace the label shown on the badge.
Embadge heavily caches badges generated for Github repositories. It is therefore recommended to set up a webhook to invalidate our cache and update your badge:
In case you want to use a static badge and specify version information yourself, you can use the embadge.io API. It supports four different parameters.
The API supports HTTPS and is accessed from is
- Used to define the text label shown on the badge (default: 'ember-versions')
- Valid semver string noting the earliest supported version.
- (Optional) Valid semver string noting the last supported version.
- (Optional) Valid semver range (e.g. "^2.3.0") noting a supported range of versions. If given, "start" and "end" will be ignored
In order to easily add embadge.io to your website you can include the following script in the body:
This will search your page for
elements with the
class and use data attributes to generate the image URL.
<span class="embadge" data-start="2.3.0"><span>