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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
npy4chan-0.1.2.1.tar.gz
(1.8 kB
view details)
File details
Details for the file npy4chan-0.1.2.1.tar.gz
.
File metadata
- Download URL: npy4chan-0.1.2.1.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2209d4ffa5c1506369f1bd48045b31f50712f32a491f1a486d80042af2f7b110 |
|
MD5 | 7e12855de2c0fadef99800f04901bd5d |
|
BLAKE2b-256 | a76a42558d2b1246a982eae362cb883fa6b490c747bfe2ed8dd762076df08796 |