huchenme / github-trending-api

:octocat: The missing APIs for GitHub trending projects and developers 📈
https://ghapi.huchen.dev/
MIT License
752 stars 105 forks source link

Add new parameter option "Spoken Language" to repositories #84

Closed MikeBudimon closed 4 years ago

MikeBudimon commented 4 years ago

I Think a "Spoken Language" parameter for querying repositories would be beneficial. See image. spoken_language

huchenme commented 4 years ago

Great, will add this in

huchenme commented 4 years ago

:tada: This issue has been resolved in version 2.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

sarkiroka commented 4 years ago

Hi @huchenme What this filter works based on? How to set the spoken language in a repository?

huchenme commented 4 years ago

@sarkiroka something like this: https://ghapi.huchen.dev/repositories?language=javascript&since=weekly&spoken_language_code=en

more parameters here: https://github.com/huchenme/github-trending-api/blob/master/src/spoken-languages.json

sarkiroka commented 4 years ago

Okay, I see, this way to read by spoken language. It is great <3 But I don't know what is the base of this filter. I not found how to set spoken language on github repository. I may have been careless. I tried to filter by hungarian, but no result - I not believe, there is no repository in this language. For example this one is on fully hungarian language: https://github.com/petergerner/alaptorveny