shields icon indicating copy to clipboard operation
shields copied to clipboard

Snapcraft

Open slaclau opened this issue 1 year ago • 6 comments

📋 Description

It would be great to be able to publish a badge showing the version of a a package in the snap store for the various channels

🔗 Data

api.snapcraft.io

🎤 Motivation

Lots of packages are published as snaps

slaclau avatar Apr 21 '23 12:04 slaclau

Is this a public API? There used to be some docs at https://dashboard.snapcraft.io/docs/api/snap.html#obtaining-information-about-a-snap (refs https://github.com/badges/shields/issues/2544 ) but that link is dead now and I'm not able to find a link to public api docs for snapcraft.

chris48s avatar May 01 '23 20:05 chris48s

Hi, yes - it is a public API - the docs are at http://api.snapcraft.io/docs/

slaclau avatar May 01 '23 21:05 slaclau

It would be great if this is implemented. :D

jcs090218 avatar Feb 10 '24 06:02 jcs090218

I can add this one. This requires Macaroon auth

edit: not sure about that, I'm getting responses without authentication for some unknown reason

jNullj avatar Feb 17 '24 11:02 jNullj

This is a small try at it at #9976 Example render for redis: image

jNullj avatar Feb 17 '24 18:02 jNullj

Wow, this is awesome! You rock! 😍

jcs090218 avatar Feb 17 '24 19:02 jcs090218