Patreon Module is printing to console: Warning: Links not implemented yet

Here is my code:

module.exports.getRemoPledgeData = async () => {
  const { creatorAccessToken, campaignId } = require("../config/server");
  const client = patreon.patreon(creatorAccessToken);
  console.log("CHECK 1");
  const result = await client(
    `/campaigns/${campaignId}/pledges?page%5Bcount%5D=10000`
  );
  console.log("check 2");
  const { store } = result;
  const pledges = store.findAll("pledge");
  return pledges;
};    

Here is my console:

CHECK 1
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
Warning: Links not implemented yet.
check 2

Pretty much for every entry i get from the client, it prints this warning to the console on it’s own. Right now i have 30 patrons, and I’m not even advertising my patreon yet. This will just compound the more patrons i get.

I’ve never had a node module printing console log statements on it’s own like this. Is there any way to turn it off? The repo hasn’t been updated since 2018, so i imagine that, “links” will never be implemented : ]

1 Like

So feedback:
I’m a little frustrated that the documentation recommended a module that feels incomplete and appears to be unsupported now. I didn’t think to check how out of date the repo was, and i’ve spent quite a bit of time building integration features around this module.

Every step of this process has been very slow. The first barrier that i encountered was the fact that it appeared you had to have an approved creator account just to register a client and view the API documentation. This actually made me launch my Patreon before i was anywhere near ready to do so. I haven’t really been able to see a way to get test data without relying on actual paying patrons. I had to register a second patreon account, and patronize myself just to test on my local environment.

I feel like getting the relevant data that i want is also hard. My queries either have too much data, or oddly not enough.

After many days of effort, I realize i should have just used a different method. The idea of having to re-write my modules & do all the subsequent trouble-shooting makes me feel… grumpy.

I’m currently running into the same issues. I am also curious about any possible updates in this regard. I’ve been having a really frustrating time working with the Patreon API just trying to get, what I feel to be, basic data.

Hi Nephra,

I ended up using Patreon’s REST API for this bit, since i had no way to stop the console logs without suppressing other info i actually need.

Here is what i changed my method too:

And here is how I am extracting the data( Pretty much from that line downward is just sifting through the data ) :

Each pledge entry has id’s for the reward, and user associated with the pledge. The data is included from the API, so i have to map the users and rewards separately using the id’s as my key.

I’m still using the patreon module for other bits, but not for this bit anymore.

Edit:
I’m not sure why this forum shows a preview of the code from github I’m linking if it’s going to truncate it like that. Be sure to click on the links if you want to see the whole code.