An open API service indexing awesome lists of open source software.

https://github.com/terhechte/octotrend.swift

Pure-Swift Parser for the Github Trending API
https://github.com/terhechte/octotrend.swift

Last synced: 3 months ago
JSON representation

Pure-Swift Parser for the Github Trending API

Awesome Lists containing this project

README

        

# OctoTrend.swift

## A Github Trending Parser written in Swift

### Status: Usable but buggy

This is a simple Swift Micro Framework that parses Github trends into a usable Swift structure.

Usage:

``` Swift
// Get the language trends for the Swift language for today.

trends(language: "swift", timeline: TrendingTimeline.Today) { (result) -> () in
if let result = result.value {
for repo in result {
print("\(repo.name): \(repo.url)")
}
}
}
```

More details will follow.