[WIP] music platform user data scraper
teal-fm atproto
at main 1.3 kB view raw
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 3package bsky 4 5// schema: app.bsky.unspecced.getTaggedSuggestions 6 7import ( 8 "context" 9 10 "github.com/bluesky-social/indigo/xrpc" 11) 12 13// UnspeccedGetTaggedSuggestions_Output is the output of a app.bsky.unspecced.getTaggedSuggestions call. 14type UnspeccedGetTaggedSuggestions_Output struct { 15 Suggestions []*UnspeccedGetTaggedSuggestions_Suggestion `json:"suggestions" cborgen:"suggestions"` 16} 17 18// UnspeccedGetTaggedSuggestions_Suggestion is a "suggestion" in the app.bsky.unspecced.getTaggedSuggestions schema. 19type UnspeccedGetTaggedSuggestions_Suggestion struct { 20 Subject string `json:"subject" cborgen:"subject"` 21 SubjectType string `json:"subjectType" cborgen:"subjectType"` 22 Tag string `json:"tag" cborgen:"tag"` 23} 24 25// UnspeccedGetTaggedSuggestions calls the XRPC method "app.bsky.unspecced.getTaggedSuggestions". 26func UnspeccedGetTaggedSuggestions(ctx context.Context, c *xrpc.Client) (*UnspeccedGetTaggedSuggestions_Output, error) { 27 var out UnspeccedGetTaggedSuggestions_Output 28 29 params := map[string]interface{}{} 30 if err := c.Do(ctx, xrpc.Query, "", "app.bsky.unspecced.getTaggedSuggestions", params, nil, &out); err != nil { 31 return nil, err 32 } 33 34 return &out, nil 35}