title: (Reddit API) How to get a list of subreddits user is subscribed to, using snoowrap?
body: <p>So I'm using snoowrap to write a Chrome extension that gets a list of subreddits the user is subscribed, and subscribes to them on a different account.</p>
  
  <p>I'm trying to get the list of subreddits currently but can't figure out how to do it. I've tried simply getting the JSON from <a href="https://www.reddit.com/subreddits/mine.json" rel="nofollow noreferrer">https://www.reddit.com/subreddits/mine.json</a>, which returns an empty object (persumably because no auth) and I have no idea how to do it via snoowrap. I looked through the documentation and can't find an option for it.</p>
  
  <p>My code:</p>
  
  <pre><code>document.addEventListener('DOMContentLoaded', function() {
  
    var login = document.getElementById('login');
    login.addEventListener('click', function() {
      const r = new snoowrap({
        userAgent: '???',
        clientId: '&lt;id&gt;',
        clientSecret: '&lt;clientsecret&gt;',
        username: '&lt;username-here&gt;',
        password: '&lt;password-here&gt;'
      });
  
      r.getHot().map(post =&gt; post.title).then(console.log);
    });
  
    var getSubs = document.getElementById('get-subs');
    getSubs.addEventListener('click', function() {
  
      fetch('https://www.reddit.com/subreddits/mine.json')
        .then(function(data) {
            console.log(JSON.stringify(data));
        })
        .catch(function(error) {
          console.log('error');
        });
  
    });
  });
  </code></pre>
  
  <p>Not sure how else to try. Anyone have suggestions? I'd like to use snoowrap for this ideally.</p>