Forum Discussion

Pat's avatar
Pat
Resourceful Rider
3 years ago

What does the "bike_angels_digits" API field represent?

When making the request to  https://layer.bicyclesharing.net/map/v1/nyc/stations, here's what one of the response elements in the features array looks like: `bike_angels_action` and `bike_a...
  • Remco's avatar
    2 years ago

    I had a fun quick dig in the code. Long story short: it's not important; it only communicates how many digits long a score is, so a 10 point bike_angels_points score would have bike_angels_digits value of 2. It looks like this is only used for styling map pins.

     

    Also, that is definitely not an official API endpoint; they reverse engineered an older version of the app that is no longer supported, so there is no guarantee that this data will remain correct or available at all.