Open colindean opened 1 year ago
📋 Description
I'd like to see a Version category badge for macports using its search interface at https://ports.macports.org.
🔗 Data
https://ports.macports.org/api/v1/ports/:package_name
It's achievable with a Dynamic JSON badge for now:
https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fports.macports.org%2Fapi%2Fv1%2Fports%2Fproxy-audio-device%2F&query=%24.version&label=macports
🎤 Motivation
Shields has badges for several other package managers, and although I'm a fervent Homebrew user, I'd like to see macports supported, too.
Provide the url and query i will work on it
The URL is https://ports.macports.org/api/v1/ports/:package_name
where :package_name
is the package name and the query is simply $.version
.
The URL is
https://ports.macports.org/api/v1/ports/:package_name
where:package_name
is the package name and the query is simply$.version
.
OK I will work on that issue under hacktoberfest
@colindean
Yes, that's just like the example using the Dynamic JSON that I came up with in my original post! I'd love to see it be a part of the collection of services and not just a Dynamic JSON implementation.
Yes, that's just like the example using the Dynamic JSON that I came up with in my original post! I'd love to see it be a part of the collection of services and not just a Dynamic JSON implementation.
can i raise the pr for that
Go for it!
Go for it!
Merge the pr
I do not have merge permissions but the work that you did in that PR is not what the intended work was to be. The intention is to add Macports as a fully-qualified additional service just like all of the others, not using a dynamic Json URL.
Any update on this?
📋 Description
I'd like to see a Version category badge for macports using its search interface at https://ports.macports.org.
🔗 Data
https://ports.macports.org/api/v1/ports/:package_name
It's achievable with a Dynamic JSON badge for now:
🎤 Motivation
Shields has badges for several other package managers, and although I'm a fervent Homebrew user, I'd like to see macports supported, too.