Socket
Socket
Sign inDemoInstall

github.com/Hebo/mira

Package Overview
Dependencies
0
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/Hebo/mira

Package mira or Meme Investor Reddit API Fork by ttgmpsn. For the original project by @thecsw, please see https://github.com/thecsw/mira/. Reddit IDs are in the form of PREFIX_ID, with ID being in base36. A post ID for example looks like t3_aaaaa. This is the current table of prefixes:


Version published

Readme

Source

Fork of MIRA

For the original project by @thecsw, please see https://github.com/thecsw/mira/.

Why

While I liked the base of the original library, especially mira/models was full of duplicate code. In this fork, I tried to tailor it down and have a more "go" approach at handling the different types of JSON data returned from Reddit, while minimizing duplicated code.

Because of the project I need the library for, I also added some mod relevant stuff that I haven't found in any other Go Reddit API Wrapper so far - mainly mod functions.

How

Please read the documentation over at https://pkg.go.dev/github.com/ttgmpsn/mira. It has some examples to get you started.

FAQs

Last updated on 13 Feb 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc