Log in to Freesound

Problems logging in?
Don't have an account? Join now

Problems logging in?

Enter your email or username below and we'll send you a link to help you login into your account.

Back to log in

Almost there!

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.

Default title

  • Sounds
  • Tags
  • Forum
  • Map
    • Sounds
    • Packs
    • Forum
    • Map
    • Tags
    • Random sound
    • Charts
    • Donate
    • Help

Freesound Forums

  • Freesound Forums
  • Bug Reports, Errors and Feature Requests
  • Web API

Web API

Subscribe

Started June 18th, 2008 · 7 replies · Latest reply by Bram 17 years, 3 months ago

P
PhreaKsAccount

80 sounds

4 posts

17 years, 8 months ago
#1

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.

Bram

122 sounds

1,573 posts

17 years, 8 months ago
#2

Hi PhreaKsAccount,

this is not possible right now but we're working on it ( check > http://www.freesound.org/blog )

- bram

Admin | Support
P
PhreaKsAccount

80 sounds

4 posts

17 years, 8 months ago
#3

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

122 sounds

1,573 posts

17 years, 8 months ago
#4

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

Admin | Support
P
PhreaKsAccount

80 sounds

4 posts

17 years, 8 months ago
#5

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.

S
superjoe30

0 sounds

1 post

17 years, 4 months ago
#6

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?

Bram

122 sounds

1,573 posts

17 years, 3 months ago
#7

superjoe30,

keep an eye on the blog, when we have an API it will be announced there.

- Bram

Admin | Support
Post reply
About Freesound Terms of use Privacy Cookies Developers Help Donations Blog Freesound Labs Get your t-shirt!
© 2026 Universitat Pompeu Fabra