github.com developer 1

github.com developer

curl https://api.github.com/search/repositories?q=tetris+language:assembly&sort=stars&order=desc

Here is what the above code is Doing:
1. We’re using the requests library to make a GET request to the GitHub API.
2. We’re passing the query parameter q to the API, which is set to tetris language:assembly.
3. We’re passing the query parameter sort to the API, which is set to stars.
4. We’re passing the query parameter order to the API, which is set to desc.
5. We’re printing the status code of the response.
6. We’re printing the JSON of the response.

Similar Posts