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>
api.getArchived(board) # get archived threadno's from <board>

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
npy4chan- (1.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page