silikonlot.blogg.se

Subreddit wiki tab will not delete
Subreddit wiki tab will not delete












subreddit wiki tab will not delete

ThumbnailWidth int `mapstructure:"thumbnail_width"` ProviderURL string `mapstructure:"provider_url"`ĭescription string `mapstructure:"description"` More * More Gilded int32 `mapstructure:"gilded"`ĭistinguished string `mapstructure:"distinguished"`Ĭomment represents a comment on Reddit (Reddit type t1_). Replies * Comment `mapstructure:"reply_tree"` ParentID string `mapstructure:"parent_id"` SubredditID string `mapstructure:"subreddit_id"`īodyHTML string `mapstructure:"body_html"` Subreddit string `mapstructure:"subreddit"` LinkTitle string `mapstructure:"link_title"` LinkAuthor string `mapstructure:"link_author"`

subreddit wiki tab will not delete

  • func NewScriptFromConfig(config ScriptConfig) (Script, error)ĬreatedUTC uint64 `mapstructure:"created_utc"`ĪuthorFlairCSSClass string `mapstructure:"author_flair_css_class"`ĪuthorFlairText string `mapstructure:"author_flair_text"`.
  • func NewScript(agent string, rate time.Duration) (Script, error).
  • func NewBotFromAgentFile(filename string, rate time.Duration) (Bot, error).
  • If you are interested in a simple high level event feed, see graw. This API for accessing feeds from Reddit is low level, built specifically for All interfacesĮxported by this package have goroutine safe implementations, but when sharedīy many goroutines some calls may block for multiples of the rate limit

    subreddit wiki tab will not delete

    Requests made by this API are rate limited with no bursting. Your registered app info from following:īot.SendMessage("roxven", "Thanks for making this Reddit API!", "It's ok.") Logged in users can claim a Bot handle with a superset of the former'sĪgent: "graw:doc_demo_bot:0.3.1 by /u/yourusername" Post, _ := script.Thread("r/programming/comments/5du93939")įmt.Printf("%s posted \"%s\"!", post.Author, post.Title) Script, _ := NewScript("graw:doc_script:0.3.1 by /u/yourusername", rate) It provides two handles for the Reddit API. Package reddit is a small wrapper around the Reddit API.














    Subreddit wiki tab will not delete