github-awards icon indicating copy to clipboard operation
github-awards copied to clipboard

[Feature request] Github Awards API

Open vdaubry opened this issue 9 years ago • 14 comments

Add a public API to access Github Awards data :

  • User detail
  • World ranking
  • Country ranking
  • City ranking

vdaubry avatar Oct 23 '15 15:10 vdaubry

Are you building it or do you want me to do it?

askl56 avatar Oct 23 '15 19:10 askl56

Pull request are most welcome ! Thanks for offering your help.

vdaubry avatar Oct 25 '15 04:10 vdaubry

Hi @vdaubry are you still thinking about adding this, or are you waiting for the project to have support first?

Best of luck though. I keep my fingers crossed. :)

nunogoncalves avatar Dec 26 '15 17:12 nunogoncalves

Hi @nunogoncalves ! Yes we should merge the PR, the last thing to do is lowercase the redis keys. I hope to finish this before new year so we can release the API for 2016 ;)

Regarding the need for a sponsor : the project received great support for the community, that's awesome !! i think i'll have some great news about that soon.

vdaubry avatar Dec 27 '15 10:12 vdaubry

@nunogoncalves Good news : Redis keys are now all lowercase. I'll be able to merge the API PR soon now !

vdaubry avatar Dec 27 '15 18:12 vdaubry

Great! :)

nunogoncalves avatar Dec 27 '15 18:12 nunogoncalves

I can see a problem with the documention. The api requests are failing. The requests are being made to

http://github-awards.comhttp//api/v0/languages.json?sort=popularity

The base url is being duplicated. I'll have a look into it as soon as I can.

nunogoncalves avatar Jan 02 '16 09:01 nunogoncalves

Ok i found where the problem was coming from, it's fixed now.

Actually it was an interesting issue :

The HOST environment variable was set in ~/.bashrc This file was not read when Capistrano was executing rake swagger:docs To make it work with Capistrano i had to set it in /etc/environment

http://capistranorb.com/documentation/faq/why-does-something-work-in-my-ssh-session-but-not-in-capistrano

vdaubry avatar Jan 02 '16 11:01 vdaubry

The Github Awards API is available in beta ! Here is the documentation :

http://github-awards.com/docs

We're looking for feedback so please open an issue if you have any questions or if you find some bugs !

:warning: The API is still in beta and methods signature can change anytime :warning:

I'll close this issue when we officially release the API

vdaubry avatar Jan 07 '16 10:01 vdaubry

Hey @vdaubry,

If I search for a city but use a country's name, I'm getting the same list as searching for that country. Is that behaviour expected? http://github-awards.com/api/v0/users/?language=javascript&city=Portugal&type=city&page=1

The opposite also has the same behaviour.

nunogoncalves avatar Jan 08 '16 09:01 nunogoncalves

The docs page doesn't exist anymore. Is this project still active ?

alvarotrigo avatar Sep 05 '16 15:09 alvarotrigo

Crosslinking with #119 which is about the broken docs.

jayvdb avatar Sep 06 '16 03:09 jayvdb

Any update on API Endpoints, really looking to see if there is a way to query for top users in a given city with a specific language/languages?

BaReinhard avatar May 14 '17 01:05 BaReinhard

And just like that, I found the solution 😬. However, is there currently a way to query for multiple languages at once with the API? Also is there going to be any update to the docs? Sorry for being so needy, I just think this repo is great and would be even better with a well documented API

BaReinhard avatar May 14 '17 02:05 BaReinhard