How can I create a search query sorted by the created_at field? I\'ve tried:
https://api.github.com/search/repositories?q=blog&sort=created_
The sort parameter only takes one of three values: stars, forks or updated:
The sort field. One of
stars,forks, orupdated. Default: results are sorted by best match.
It doesn't appear to be possible to sort by creation date, but you could read the response of the search query into an array and sort from there.
In addition to what was written till now I found out here another way. That is:
https://api.github.com/users/<user name>/repos?sort=created&direction=desc
For example:
https://api.github.com/users/nadar71/repos?sort=created&direction=desc