Metadata-Version: 1.2
Name: PTTLibrary
Version: 0.6.0
Summary: PTT library
Home-page: https://github.com/Truth0906/PTTLibrary
Author: CodingMan
Author-email: thetruth0906@livemail.tw
License: UNKNOWN
Description: # PTT Library
        [![Package Version](https://img.shields.io/pypi/v/PTTLibrary.svg)](https://pypi.python.org/pypi/PTTLibrary)
        [![Build Status](https://travis-ci.org/Truth0906/PTTLibrary.svg?branch=master)](https://travis-ci.org/Truth0906/PTTLibrary)
        [![Codacy Badge](https://api.codacy.com/project/badge/grade/8f2eee1a277d499f95dfd5ee46094fdf)](https://www.codacy.com/app/hunkim/TensorFlow-Tutorials)
        [![Requirements Status](https://requires.io/github/Truth0906/PTTLibrary/requirements.svg?branch=master)](https://requires.io/github/Truth0906/PTTLibrary/requirements/?branch=master)
        [![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
        [![Join the chat at https://gitter.im/PTTLibrary/Lobby](https://badges.gitter.im/PTTLibrary/Lobby.svg)](https://gitter.im/PTTLibrary/Lobby?utm_source=badge&utm_medium=badge&utm_content=badge)
        
        #### Do you want PTT in Python? import PTT
        
        ###### 這是一個讓開發者方便操作 PTT 的函式庫
        ###### 提供完整快速的 PTT 操作
        ###### 舉凡貼文、推文、寄信、讀信、查ID、丟水球甚至接水球，都可以搞定
        ###### 根據網路速度動態調整操作速度、斷線自動恢復
        ###### 如有功能未能詳盡 歡迎開啟 issue 來許願
        
        版本
        -------------------
        ###### 0.6.0
        
        安裝
        -------------------
        ```
        pip3 install PTTLibrary
        ```
        
        基本使用
        -------------------
        ```
        from PTTLibrary import PTT
        
        PTTBot = PTT.Library(ID, Password)
        ErrCode = PTTBot.login()
        if ErrCode != PTT.ErrorCode.Success:
            PTTBot.Log('登入失敗')
            sys.exit()
        
        ......
        
        PTTBot.logout()
        ```
        ###### 你可以參考 Test.py 裡面有 API 的範例與說明
        
        詳細說明
        -------------------
        ###### 請參考 Test.py
        
        需求
        -------------------
        ###### Python 3.6
        
        相依函式庫
        -------------------
        ###### progressbar2
        ###### paramiko
        
        API
        -------------------
        ###### getVersion                            取得版本資訊
        ###### login                                 登入
        ###### logout                                登出
        ###### post                                  PO 文
        ###### push                                  根據文章編號推文
        ###### mail                                  寄信給使用者
        ###### getPost                               取得文章資訊 內含推文清單
        ###### getNewestIndex                        取得該看板最新的文章編號或者信箱最新信件編號
        ###### giveMoney                             給予使用者 P 幣
        ###### getTime                               取得 PTT 系統時間
        ###### getUser                               取得該使用者資訊
        ###### crawlBoard                            多線程爬蟲 以多重登入增加爬蟲速度 可傳入 call back 自訂存檔格式
        ###### getMail                               取得信件資訊
        ###### Log                                   顯示訊息
        ###### changePassword                        修改密碼
        ###### replyPost                             回覆文章
        ###### throwWaterBall                        丟水球
        ###### delPost                               刪除文章
Keywords: PTT,crawler,bot
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Internet
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Requires-Python: >=3
