API
37 watchers
Aug 2014
10:53am, 23 Aug 2014
14,783 posts
|
fetcheveryone
And again
|
Aug 2014
1:06pm, 23 Aug 2014
14,784 posts
|
fetcheveryone
If you'd like to try out the TCX upload, I've put another example script here: http://www.fetcheveryone.com/demo/api_client.0.2.zip Important notes: 1) Don't forget to stick your user/secret in objAPI.php 2) In example.php you'll need to set the file path to your TCX file, and use your OWN user ID 3) PLEASE DON'T TRY IMPORTING IN BULK JUST YET. Let me know how you get on. Thanks |
Aug 2014
6:55pm, 23 Aug 2014
89 posts
|
nuttyficket
Hallelujah! http://www.fetcheveryone.com/training-log-view.php?id=10401170 Got this working ok (after a bit of faffing round on my side); nice to get the run id returned in the response code Also got an error trying to upload run to fetch's account (ahem, was just testing!), so that works too. Is it right I only have one split? I usually use GPX files and get them every kilometre. Also - will I still get Conquersize zones if I upload via the API? Questions, questions |
Aug 2014
7:54pm, 23 Aug 2014
2 posts
|
BFC
Me me me. I'm interested in testing and using the API. How do I get a user/secret?
|
Aug 2014
7:56pm, 23 Aug 2014
90 posts
|
nuttyficket
BFC, try here http://www.fetcheveryone.com/api-request-keys.php
|
Aug 2014
8:00pm, 23 Aug 2014
3 posts
|
BFC
Thanks, but I get an incomplete page and an error: "Uncaught ReferenceError: defaultOnload is not defined" in the dev console on Chrome and Firefox. Looks like there may be a JS race condition on the page preventing the rest of it from loading.
|
Aug 2014
8:07pm, 23 Aug 2014
91 posts
|
nuttyficket
How odd. Is fine for me (on Chrome). One for fetch to sort out, I think. |
Aug 2014
8:35pm, 23 Aug 2014
14,785 posts
|
fetcheveryone
Try refreshing the page. The JS error won't be related to the keys (more likely it's a dodgy ad).
|
Aug 2014
8:51pm, 23 Aug 2014
4 posts
|
BFC
Nope, still same thing. I don't see anything beyond the "Request Key And Secret" heading, not even the usual page footer. Blocking ads doesn't help either. Tested on Chrome & Firefox on a Mac and an iPad. |
Aug 2014
8:53pm, 23 Aug 2014
5 posts
|
BFC
Come to think of it, I wonder if this is a premature closing div tag. Will check in the morning if the problem persists.
|
Related Threads
- Coders Oct 2024
- Pi Club Jan 2022
- Android App Apr 2021
- Coders Aug 2020
- Wireframe tools May 2019
- Tapiriik? Mar 2019
- Oracle club Sep 2018
- Raspberry Pi Jan 2018
- Calling All Coders Jan 2014
- Upload from apple watch Jul 2024