[WIP] music platform user data scraper
teal-fm atproto
at main 838 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.getFeedGenerators 6 7import ( 8 "context" 9 10 "github.com/bluesky-social/indigo/xrpc" 11) 12 13// FeedGetFeedGenerators_Output is the output of a app.bsky.feed.getFeedGenerators call. 14type FeedGetFeedGenerators_Output struct { 15 Feeds []*FeedDefs_GeneratorView `json:"feeds" cborgen:"feeds"` 16} 17 18// FeedGetFeedGenerators calls the XRPC method "app.bsky.feed.getFeedGenerators". 19func FeedGetFeedGenerators(ctx context.Context, c *xrpc.Client, feeds []string) (*FeedGetFeedGenerators_Output, error) { 20 var out FeedGetFeedGenerators_Output 21 22 params := map[string]interface{}{ 23 "feeds": feeds, 24 } 25 if err := c.Do(ctx, xrpc.Query, "", "app.bsky.feed.getFeedGenerators", params, nil, &out); err != nil { 26 return nil, err 27 } 28 29 return &out, nil 30}