在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):Bytewerk/MastodonStatus开源软件地址(OpenSource Url):https://github.com/Bytewerk/MastodonStatus开源编程语言(OpenSource Language):Python 100.0%开源软件介绍(OpenSource Introduction):update mastadon profile field with spaceapi statethis script tries to fetch a spaceapi (http://spaceapi.net/) JSON file, parses the current space state (open / closed, since when) and updates a mastadon profile custom field to reflect this state. install
update config in settings.py
generate access tokenthe script needs a mastadon API token to operate. you can e.g. generate that from a python REPL:
profit!run the script once to check that it works, then let it run periodically, e.g. from cron. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论