Setup
$ pip install navercafe
Usage
from navercafe import NaverCafe
# 1. setup
cafe_name = 'wikibookstudy'
club_id = '30853297'
cafe = NaverCafe(cafe_name, club_id)
# 2. (optional) enter user id and pw
# This is semi-automatic (needs manual authentication)
cafe.enter_id_pw('your_id', 'your_pw')
# 3. get article board
board_id = 28
df1 = cafe.articleboard(board_id)
print(len(df1))
print(df1.head())
# 4. get comments
article_id = 139
df2 = cafe.comments(article_id)
print(len(df2))
print(df2.head())
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
navercafe-0.2.1.tar.gz
(2.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters