How to find userid?

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?

pb66's picture

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

phermansson's picture

Re: How to find userid?

Thanks, that works fine! The documentation could be better explaining that.

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.