py420chan
– 420chan Python Library
py420chan
gives access to 420chan from a clean Python interface.
Basic Usage
420chan Python Library.
py420chan is a Python library that gives access to the 420chan API
and an object-oriented way to browse and get board and thread
information quickly and easily.
Methods
-
py420chan.
get_boards
(board_name_list, *args, **kwargs)[source]
Given a list of boards, return basc_py4chan.Board
objects.
Parameters: | board_name_list (list) – List of board names to get, eg: [‘b’, ‘tg’] |
Returns: | Requested boards. |
Return type: | dict of basc_py4chan.Board |
-
py420chan.
get_all_boards
(*args, **kwargs)[source]
Returns every board on 4chan.
Returns: | All boards. |
Return type: | dict of basc_py4chan.Board |