Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Latest commit

 

History

History
17 lines (12 loc) · 369 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 369 Bytes

Dcard-python

This module solves the problem of annoying CSRF problem.

So you can write scripts by simply import dcard.

Installation:

  • pip install dcard (What an awesome name!)

Usage:

from dcard import Dcard
d = Dcard('<USERNAME>', '<PASSWORD>')

# get info about yourself
data = d.session.get('https://www.dcard.tw/api/member/status').json()