Hi ,
It looks like you're using an ad blocker.



The revenue generated from the adverts on the site is a critical part of our funding - and it's because of these ads that I can offer the site for free. But using the site for free AND blocking the ads doesn't feel like a great thing to do, which is why this box is so large and inconvenient. Some sites will completely block your access, but I'm not doing that - I'm appealing to your good nature instead. Did you know that you can allow ads for specific sites, whilst still blocking them on others?

Thanks,
Ian Williams aka Fetch
or for an ad-free Fetcheveryone experience!

API

37 watchers
Aug 2014
9:12am, 22 Aug 2014
66 posts
  • Quote
  • Pin
jonbev
Me me me
Aug 2014
10:02am, 22 Aug 2014
14,769 posts
  • Quote
  • Pin
fetcheveryone
Here's a page for each of you to request a set of developer keys:

http://www.fetcheveryone.com/api-request-keys.php
Aug 2014
10:09am, 22 Aug 2014
85 posts
  • Quote
  • Pin
nuttyficket
Will we be able to access user created routes via API?
Aug 2014
10:12am, 22 Aug 2014
15,173 posts
  • Quote
  • Pin
flanker
got my pretty. Now I wait to see what i can do with it :-)
Aug 2014
10:13am, 22 Aug 2014
14,770 posts
  • Quote
  • Pin
fetcheveryone
In theory, it's all possible - it's just about giving access to the right parts of the database. I'm starting with importing data though, as a few people have talked about uploading their training.
Aug 2014
10:32am, 22 Aug 2014
14,771 posts
  • Quote
  • Pin
fetcheveryone
I've created a simple example for you to test out. It just grabs a list of threads.

Here's the client-side code:

http://www.fetcheveryone.com/demo/api_example.0.1.zip

There are two files - a small object with methods that will request a token for you, and execute a GET request. You'll need to stick your key and secret into that. And example.php just illustrates some params for you.
Aug 2014
10:35am, 22 Aug 2014
14,772 posts
  • Quote
  • Pin
fetcheveryone
PS a token lasts for 60s.
PPS if you spam the server with lots of requests, Apache will kick you out for a bit. So don't :-)

All feedback gratefully received. Once the mechanism is good, then adding more request types is fairly straightforward by comparison. I'm off for a run in a min, but when I'm back, I will be working on the code that will allow you to supply data, rather than just request it.
Aug 2014
11:19am, 22 Aug 2014
14,773 posts
  • Quote
  • Pin
fetcheveryone
Anyone?
Aug 2014
12:31pm, 22 Aug 2014
4,376 posts
  • Quote
  • Pin
Badger
I've got as far as downloading them :) Probably won't have time to play until Monday though, and will start by translating them into something else (python/requests, specifically).
Aug 2014
12:39pm, 22 Aug 2014
86 posts
  • Quote
  • Pin
nuttyficket
No problems, working fine for me (in Python).

Er. No other feedback. Top stuff :)

About This Thread

Maintained by fetcheveryone
We're very much in the "gently trying things out" stage, but please join in if you're interested in working with a Fetch API:

Get your developer keys here:
http://www.fetcheveryone.com/api-request-keys.php

And a basic PHP client example here:
http://www.fetcheveryone.com/demo/api_client.0.2.zip

With thanks to Badger, here's a Python version:
http://www.fetcheveryone.com/demo/FetchAPIPython_0.2.zip

Available methods:
http://www.fetcheveryone.com/api-doc.php

Join the developer group here:
http://www.fetcheveryone.com/groups-view.php?id=1167

If you'd care to port the client into another language, please let me know, and I can upload it to share with others.
  • Show full description...

Related Threads

  • api
  • coding
  • import








Back To Top

Tag A User

To tag a user, start typing their name here:
X

Free training & racing tools for runners, cyclists, swimmers & walkers.

Fetcheveryone lets you analyse your training, find races, plot routes, chat in our forum, get advice, play games - and more! Nothing is behind a paywall, and it'll stay that way thanks to our awesome community!
Get Started
Click here to join 114,080 Fetchies!
Already a Fetchie? Sign in here