FYI we have developed a new module ServiceAPI that allows to get access to user’s data in an emonCMS installation by providing a master apikey (aka service_apikey)
and the username or email address of the user.
Our user case is to allow our members to access their MyHomeEnergyPlanner data from our dashboard (in a complete different web app). This way we don’t need to know the user write or read apikeys.
The service_apikey can be sent in the query string of the URL or as a POST field (recommended)
So to access data this way you could do a curl to something like: