文件名称:Pawopy:Mastodon API的Python包装器,例如tweepy
文件大小:11KB
文件格式:ZIP
更新时间:2024-02-24 07:08:54
python mastodon mastodon-api MastodonPython
aw Mastodon API的Python包装器,例如tweepy 安装 $ pip install pawopy import pawopy auth = pawopy . OAuthHandler ( 'https://pawoo.net' ) auth . set_access_token ( access_token ) api = pawopy . API ( auth ) api . update_status ( 'Hello World !' ) 授权书 import pawopy auth = pawopy . OAuthHandler ( 'https://pawoo.net' ) url = auth . get_authorization_url () code = input ( url + ' \n > ' ) access_token = auth . get_access_token ( code ) api = pawopy . API ( auth ) import pawopy auth = pawopy . PasswordAuthHand
【文件预览】:
Pawopy-master
----pawopy()
--------stream.py(2KB)
--------mastodon.py(10KB)
--------__init__.py(151B)
--------model.py(10KB)
--------handler.py(2KB)
----examples()
--------streaming.py(531B)
--------hello_world.py(197B)
--------home_timeline.py(213B)
--------authorization.py(465B)
----setup.py(376B)
----.gitignore(2KB)
----README.md(2KB)