COSCUP-ap-demo/demo/actor.py
SouthFox 0f9761ff5c
Some checks failed
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/test Pipeline was successful
[feat] check inbox signature
2023-06-19 14:34:03 +08:00

11 lines
210 B
Python

#!/usr/bin/env python3
"""ActivityPub Actor"""
import demo.activitypub as ap
def fetch_actor(
actor_url: str,
) -> dict:
"""Fetch actor"""
ap_object = ap.fetch(actor_url)
return ap_object