Toutiao Module for Python for MiniApp.
Project description
Toutiao Module for Python for MiniApp.
Installation
pip install pytt-miniapp
Usage
from pytt_miniapp import get_session_key, get_userinfo, get_phone_number
Method
def get_session_key(self, appid=None, secret=None, code=None, grant_type='authorization_code', storage=None): def get_userinfo(self, appid=None, secret=None, code=None, grant_type='authorization_code', session_key=None, encryptedData=None, iv=None, storage=None): def get_phone_number(self, appid=None, secret=None, code=None, grant_type='authorization_code', session_key=None, encryptedData=None, iv=None, storage=None):
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytt-miniapp-1.0.0.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file pytt-miniapp-1.0.0.tar.gz
.
File metadata
- Download URL: pytt-miniapp-1.0.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.12+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40e9afdf480110351b200ccbacd89a5b8cb83653d86fa7934a49be783190d9d1 |
|
MD5 | 1f0e451d67c8409549385c54e84fe091 |
|
BLAKE2b-256 | e459ef7ee2f80c0383afcfe57c05d783dfe2dbfe3e14beb2a738f3715a2a0ed3 |
File details
Details for the file pytt_miniapp-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pytt_miniapp-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.12+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85f531e9c17b82c01f5003c61e472fb5d871a37fa0b34ae48aa9078b6ff85abe |
|
MD5 | eee23ead2d9698ddcffd66588e2d4e46 |
|
BLAKE2b-256 | a0ecfa8bb526cf34ced99f68f1f3447e258be4673f71f106f3b1a076f8d4cac5 |