Last active
August 24, 2022 21:27
-
-
Save hugofcampos/58cba6fd7c3784201dd59f8b97eab431 to your computer and use it in GitHub Desktop.
1o passo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ballerina/http; | |
import ballerina/io; | |
public function main() returns error? { | |
http:Client github = check new ("https://api.github.com"); | |
json user = check github->get("/users/defunkt"); | |
io:println(user.public_repos); | |
return; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment