Hi!
I look at http://emoncms.org/feed/api for how to get Emoncms data from a custom application. First I want to get a list of my feeds, which can be done by calling http://emoncms.org/feed/list.json?userid=0.
But how do I find my userid?
Archived Forum |
|
How to find userid?Submitted by phermansson on Sat, 19/09/2015 - 07:11Hi! I look at http://emoncms.org/feed/api for how to get Emoncms data from a custom application. First I want to get a list of my feeds, which can be done by calling http://emoncms.org/feed/list.json?userid=0. But how do I find my userid? » |
Re: How to find userid?
As I can tell you don't actually need your userid.
If you are logged in you can just use http://emoncms.org/feed/list.json to return a feed list (and each entry will have your userid) and if you are not logged in just add ?apikey=blahblahblah and that will return a full list too.
Paul
Re: How to find userid?
Thanks, that works fine! The documentation could be better explaining that.