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

https://github.com/nuclearace/fourchanapi

4chan API Wrapper for OS X/iOS
https://github.com/nuclearace/fourchanapi

Last synced: 3 months ago
JSON representation

4chan API Wrapper for OS X/iOS

Awesome Lists containing this project

README

          

# FourChanAPI

Example:

```swift
import Foundation
import FourChanAPI

let a = FCBoard(name: "a")

// Getting a list of all boards
FCBoard.getAllBoards {boards in
print(boards)
}

// Gets the board's thread list
a.getThreads {threads in
print(threads)
let thread1 = a.threads[1]

// Fill thread with posts
thread1.updatePosts {posts in
// Print last post
print(thread1[thread1.count - 1]!)
}
}
```