Coder Social home page Coder Social logo

php-runtastic's People

Contributors

donderda avatar ferranmarlet avatar mgarciadelojo avatar timoschlueter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

php-runtastic's Issues

Photos of activities

is it possible to get the photo urls or just the main photo url from each activity? would by very nice for a nice activity journal :-)

Runtastic returns error 500 for a certain user

Hello, I've noticed that I cannot retrieve the workouts from a certain user.

The response I receive when doing the curl at the function getActivities is the following:

<html>
<head>
  <title>We're sorry, but something went wrong (500)</title>
  <style type="text/css">
    body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
    div.dialog {
      width: 25em;
      padding: 0 4em;
      margin: 4em auto 0 auto;
      border: 1px solid #ccc;
      border-right-color: #999;
      border-bottom-color: #999;
    }
    h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
  </style>
</head>

<body>
  <!-- This file lives in public/500.html -->
  <div class="dialog">
    <h1>We're sorry, but something went wrong.</h1>
    <p>We've been notified about this issue and we'll take a look at it shortly.</p>
  </div>
</body>
</html>

I'm not sure about what can be happening. I've tested the connection with many other users and it works fine, but it always fails for this user.

This user has a Runtastic Gold account, but I have tested other Runtastic Gold accounts and it seems to work.

Any clues on what can be happening?

Thank you all in advance.

Keine Daten seit einem Runtastic Update

Hey,

ich bekomm seit Runtastic die Webseite überarbeitet hat keine Daten mit der Klasse mehr. Ist das jemand anderem auch schon aufgefallen?

Wenn ich Zeit finde werde ich auch die Tage mal schauen ob ich die Ursache ein wenig eingrenzen kann.

Gruß,
Daniel

Class stopped working

Hello,

It seems there are some changes in the API and the class is currently broken

Notice: Undefined offset: 1 in class.runtastic.php on line 118
Notice: Undefined offset: 1 in class.runtastic.php on line 200
Warning: Invalid argument supplied for foreach() in class.runtastic.php on line 209
Warning: Invalid argument supplied for foreach() in class.runtastic.php on line 288

Catchable fatal error: Argument 1 passed to Runtastic\RuntasticActivityList::__construct() must be of the type array, null given

Hi, first of all, thanks for the great works you've done by creating this project !

We are having this error for the account of one of our user. It's the only account who seems to raise this error at this time.

After, dumping some variables, it seems that the problem is that $responseOutputJson line 248 is getting a null value.

Do you have any idea why ?
Thanks a lot !

Missing data elements

I am looking to retrieve the 'repetition' value, but I cannot find it in any of the returned data. Is there any way to include it, or is that on /their/ end?

How to generate X-Auth-Token?

Hi Timo, thanks for publishing what you know about the runtastic APIs. I have a question regarding the X-Auth-Token. In the wiki, you said it has to be generated. Are you able to share more details how to generate this token?

In your PHP class, it looks like the login HTTP POST is sending an empty authenticity_token var. Is that correct?

Runtastic backend returns an error if more than 420 activities are requested

As mentioned in #10 and #8, there seems to be a problem with the Runtastic backend. Through my first (and not really deep) analysis i found out that the backend is only able to return a maximum of 420 activities.

I committed a workarround in 7e3d83e by limitting the number of requested activities to 420 and sorting them by ID to get the latest ones.

To resolve this issue, we should implement a paging-algorithm, since i doubt that Runtastic will back off from their introduced "rate limit".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.