timoschlueter/php-runtastic

Can't retrieve workouts!

Opened this issue · 5 comments

The activity list returns empty.

Hi @renzodiaz, i just tested the class with my runtastic profile. I dont have any problems.
Could you specify your environment? Maybe the phpinfo() output of your system?

Hi Timo Thanks for answer, I'm using your library for retrieve data from
Runtastic but I can retrieve data once.

I have form.php this form have action to functions.php

$r = new Runtastic();
$r->setUsername('username')->setPassword('xxxxx');

$r->getActivities(null,null, date('Y'));

getactivities() only works once! What am I doing wrong?

-Best

On Tue, May 17, 2016 at 6:07 AM, Timo Schlüter notifications@github.com
wrote:

Hi @renzodiaz https://github.com/renzodiaz, i just tested the class
with my runtastic profile. I dont have any problems.
Could you specify your environment? Maybe the phpinfo() output of your
system?


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#19 (comment)

Riwak commented

Hey it work's only once for me to ! The first time is ok but if you refresh it's over.
I'm on php server 5.6.2. (Mac OS Sierra - MAMP Server - Safari 11.0)

capture 2017-10-11 a 13 27 19

same problem

Riwak commented

This repo is out of date and bugged !
Try with javascript instead of php (It work well with Node JS platform. )

https://github.com/terhuerne/runtastic-js