[WIP] music platform user data scraper
teal-fm atproto
at main 948 B view raw
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 3package bsky 4 5// schema: app.bsky.feed.getActorLikes 6 7import ( 8 "context" 9 10 "github.com/bluesky-social/indigo/xrpc" 11) 12 13// FeedGetActorLikes_Output is the output of a app.bsky.feed.getActorLikes call. 14type FeedGetActorLikes_Output struct { 15 Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 16 Feed []*FeedDefs_FeedViewPost `json:"feed" cborgen:"feed"` 17} 18 19// FeedGetActorLikes calls the XRPC method "app.bsky.feed.getActorLikes". 20func FeedGetActorLikes(ctx context.Context, c *xrpc.Client, actor string, cursor string, limit int64) (*FeedGetActorLikes_Output, error) { 21 var out FeedGetActorLikes_Output 22 23 params := map[string]interface{}{ 24 "actor": actor, 25 "cursor": cursor, 26 "limit": limit, 27 } 28 if err := c.Do(ctx, xrpc.Query, "", "app.bsky.feed.getActorLikes", params, nil, &out); err != nil { 29 return nil, err 30 } 31 32 return &out, nil 33}