Project description
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
Built Distribution
File details
Details for the file navercafe-0.2.1.tar.gz
.
File metadata
-
Download URL:
navercafe-0.2.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
-
Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.7 Darwin/23.4.0
File hashes
Hashes for navercafe-0.2.1.tar.gz
Algorithm |
Hash digest |
|
SHA256 |
660ed923b937ef47f5dd191e42196429608203990ddd005f0b8c6175bd5401f8 |
|
MD5 |
2544f40cf7179eb752c5d2da6f599386 |
|
BLAKE2b-256 |
836a3f774f44dbe879b28aa619a5f136a7f341527f5fbfbf7d45940d6348c631 |
|
See more details on using hashes here.
File details
Details for the file navercafe-0.2.1-py3-none-any.whl
.
File metadata
-
Download URL:
navercafe-0.2.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
-
Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.7 Darwin/23.4.0
File hashes
Hashes for navercafe-0.2.1-py3-none-any.whl
Algorithm |
Hash digest |
|
SHA256 |
3e171ec8d77e17e8c36a434e3aebb7368f664f24499868f5238eee02fc1a6201 |
|
MD5 |
26ad00bb4a603f6a053292eeb58b8108 |
|
BLAKE2b-256 |
68cf8bc6a1793cf7a82295b3e77c26203ccdc9cb654a5cc9f762f0c312ca65d9 |
|
See more details on using hashes here.