Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bintray download badge #234

Closed
aalmiray opened this issue Aug 7, 2014 · 13 comments
Closed

Bintray download badge #234

aalmiray opened this issue Aug 7, 2014 · 13 comments

Comments

@aalmiray
Copy link

aalmiray commented Aug 7, 2014

Consider a badge for displaying downloadable versions from a Bintray repository. The API call is explained at https://bintray.com/docs/api/#_get_version

Proposed syntax:

http://img.shields.io/bintray/version/joe/maven/artifact.svg  // latest
http://img.shields.io/bintray/version/joe/maven/artifact/1.2.3.svg  // 1.2.3

Suggested syntax uses version in the path as Bintray might support download numbers via API calls in the future. If so that service could be added at a later stage.

@espadrine
Copy link
Member

I'll look into it. Thanks!

References: #284, #58.

@domix
Copy link

domix commented Dec 26, 2014

+1

1 similar comment
@pathikrit
Copy link

+1

@hastebrot
Copy link

The link to the API documentation is 404'ed. New link is: https://bintray.com/docs/api/#_get_version

@espadrine
Copy link
Member

@hastebrot Thanks!

The main issue remains rate-limiting. I don't know where to draw the line exactly, but 300 requests/day is very far below that line. GitHub's initial 1440 req/day was not enough at all, for instance.

@hastebrot
Copy link

And what about the caching machanism for requests and secret credentials for a dedicated account? Is this possible?

@hastebrot
Copy link

Ah, I see, we have cache() and serverSecrets in server.js for this.

@espadrine
Copy link
Member

The cache fills up very fast, so uncommon requests get deleted just as fast.

@jhermann
Copy link

Quoting @jbaruch: “We can consider lifting the limits for a dedicated account or for a specific API. We've done the same for other services in the past.”

@hawkw
Copy link

hawkw commented May 9, 2015

+1

@keilw
Copy link

keilw commented Jul 20, 2015

I'd say for projects transparent enough to share them, download numbers either for all or the latest version over a period like last 30 days would be a cool badge, too ;-)

@AndersDJohnson
Copy link

+1

@espadrine
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants