Skip to main content

A trivial, minimalistic 4chan API wrapper.

Project description

Very simple, minimalistic wrapper for 4chan’s API.

To create an instance of the wrapper:

api = npy4chan.load()

Attributes and methods:

api.boards # dictionary of board identifiers and title (i.e; {"b": "Random"})
api.getPosts(board, page=1) # Get list of thread on page <page> of <board>
api.getThread(board,threadno) # Get posts from <board>'s thread <threadno>

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page