#Reputation web API without authentication

18 messages · Page 1 of 1 (latest)

valid steeple
#

Does Exercism.org expose an api to get a public profile's total reputation?

I would like to make a https://shields.io badge for my github with my total rep. I have been able to find total solutions via https://exercism.org/api/v2/profiles/user/solutions, but I have only been able to find a way to my rep via https://exercism.org/api/v2/reputation which uses my session cookies.

I have tried looking at the api controllers in the website repo, but im not familiar with Ruby and haven't been able to find anything.

Concise, consistent, and legible badges

tidal flame
#

There's an auth bearer header you can set with this

valid steeple
#

I'll take a look at it but i dont think its exactly what im looking for...

I expect the auth token to provide authentication to my account, including the ability to modify/submit (or any other "writing" action). The shields.io badge will expose the entire api call in the source code. Hence I would be looking for something that only provides "read" access to my account. Or alternatively an authless way to get my total rep.

tidal flame
#

There's no shared/public token. Tokens are given out to account holders to access their account. There is no read only token or public token.

valid steeple
#

so i would be right by stating that this is not a viable solution (?)

tidal flame
#

I believe so

valid steeple
#

i guess what im looking for just doesnt exist

#

which is a bit weird. if my testimonials and solutions can be publicly accessed via api, id expect the more basic profile info to also be available

tidal flame
#

There might be another endpoint that allows you to find a users rep but I'm pretty sure the API needs a token/cookie to use

#

Though I could be wrong on that

#

The API isn't documented anywhere

valid steeple
#

yeah ive seen the issue on the github

#

but its yet to be reopened after the v3 cleanse

tidal flame
#

The Exercism backend team is basically two people so they need to pick carefully what they work on

valid steeple
#

understandable

abstract ridge
#

which is a bit weird. if my testimonials and solutions can be publicly accessed via api, id expect the more basic profile info to also be available

The API is for exercism's website, not for public consumption, so we don't necessarily put out endpoints that we think will be useful, only ones that we need.