New Public Gist
✓ Published0🌍 Public
SSohojoe
Last edited Jan 29, 2017
Created on Jan 29, 2017
This example shows the top 165 GitHub repositories for the ServiceStack organization, sorted by watcher count, by fetching JSON data from the GitHub API. The code uses the `GetJsonFromUrl` method with a custom User-Agent to retrieve the repository list, then parses it with `FromJson<GithubRepository[]>` and orders it via `OrderByDescending`. The result is printed as a top-five list and a full dump, leveraging ServiceStack.Text's `Print` and `PrintDump` utilities for console output.
AI-generated description