文件名称:Mastodon.py:Mastodon的Python包装器(https
文件大小:760KB
文件格式:ZIP
更新时间:2024-06-01 15:44:29
Python
乳齿象 Mastodon( )API的Python包装器。 自Mastodon 3.0.1版起,公共API的功能已完成,并且易于入门: # Register your app! This only needs to be done once. Uncomment the code and substitute in your information. from mastodon import Mastodon ''' Mastodon.create_app( 'pytooterapp', api_base_url = 'https://mastodon.social', to_file = 'pytooter_clientcred.secret' ) ''' # Then login. This can be done every time, or use