I found this post several months ago and wanted to sum up my experience in using this API and how I've used it with Tasker over the last couple months.
1). In another post, Mateo (or someone else) mentioned another extra called "show_activity". By default, this extra is set to true. This is a problem when using the toggle intent. It will not work if the Strava activity is loaded in the background. You will want to make sure that you manually set this extra to false. The start intent doesn't suffer from this problem.
2). If "show_activity" is set to false when stopping a ride, the ride will not be uploaded automatically. It will upload the next time the Strava app is open (or you run one of these intents with the "show_activity" extra set to true).
3. This next comment is less about the API/Tasker as it is calling the task using voice commands. In Lollipop, a change in how permissions work currently prevent Tasker and Utter from being installed at the same time. In KitKat, I had a custom command set up in Utter that called the related Tasker task. To get this functionality back in Lollipop, I use AutoVoice, which allows me to create custom commands in Google Now.
I've attached some screenshots to help visualize my setup. I should mention for Mateo's benefit that this API is the sole reason that I use Strava over Endomondo. With bluetooth headphones (
http://www.amazon.com/dp/B00PEPIWNI) and an app to remap bluetooth buttons (
https://play.google.com/store/apps/details?id=com.yado.btbut), tracking a ride with Strava is easy. Compared to pulling your phone out, unlocking it, getting the app open and starting the ride, then hitting the power button on the phone, and putting the phone back in your pocket before you can start biking.
On Tuesday, May 6, 2014 at 8:08:52 PM UTC-4, Mateo Ortega wrote: