We've sent a verification link by email
Didn't receive the email? Check your Spam folder, it may have been caught by a filter. If you still don't see it, you can resend the verification email.
Started June 18th, 2008 · 7 replies · Latest reply by Bram 16 years ago
Is there a web API (preferably php) in existence? Nothing fancy, but I'm just wanting to integrate some of my freesound samples with my portfolio site so I can use the freesound backend for usage stats and comments etc.
Hi PhreaKsAccount,
this is not possible right now but we're working on it ( check > http://www.freesound.org/blog )
- bram
Bummer. Good to here one is being worked on though.
Until that time would you guys be against me writing a script to extract info from my user search page. Basically it'll grab http://www.freesound.org/usersViewSingle.php?id=89025&start=0 and pull out all the info appearing under the the "samplelist" li's into an array, then grab the data from http://www.freesound.org/usersViewSingle.php?id=89025&start=15 etc and iterate until it doesn't return any results? Basically the only info I'm needing is the sample name, link, quick summary, and number of downloads. It'll be used to create a link list of my personal site that will refer to the individual sample pages. This should result in around 4 or 5 page requests (to get all my samples) to freesound for each request to my sound design page. I'm aware this is an extremely inefficient solution but I wouldn't exactly call that section of my site high traffic (approx 10 visitors a day). In the case I'm suddenly dugg for some unknown reason etc I'll change it to cache the results and have the backend update itself from freesound say once per day.
Bram
if you cache it on your side, no problem. That would be a pretty server-killing process if you would run it many times.- bram
Ya, like I said it's far from an elegant solution. I'll set it up to do a daily grab and dump the details into my local db. Cheers.
I'd like to integrate freesound.org with LMMS (lmms.sourceforge.net). Would this be ok with the site admins? We would conform to any constraints you might want to put on the relationship, display a freesound ad banner, etc. It would be really nice to have an API though. What say you?