|
|
|
08-19-2018, 10:12 AM
|
#1
|
Human being with feelings
Join Date: Nov 2010
Posts: 2,436
|
SoundCloud API and REAPER?
Hi, long time no see
So, it seems REAPER is back on the menu cause it's the best tool for the job!
The job? I want to talk to SoundCloud via its API. I see it supports Python. I'm mainly interested in importing songs and other data such as title, artist, links etc...
If anyone has some code snippets, insights etc...I would be grateful if you could share your experience.
Thanks
__________________
REAPER ReWorked: An elegant and self-sufficient all-around REAPER configuration
Other stuff
Last edited by Breeder; 09-03-2020 at 03:33 PM.
|
|
|
08-19-2018, 12:03 PM
|
#3
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
Oh, glad to see you here again !
Soundcloud HTTP API can support any language, as long as akes HTTP request and Json for parsing the results. You will need a user ID and a key for having access to the API.
From Lua with REAPER you can use cURL CLI to make the HTTP request. If you want to use Python, maybe cURL isn't necessary.
|
|
|
08-19-2018, 12:25 PM
|
#4
|
Human being with feelings
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
|
Quote:
Originally Posted by X-Raym
From Lua with REAPER you can use cURL CLI to make the HTTP request. If you want to use Python, maybe cURL isn't necessary.
|
How can you use cURL from Reaper? Are you just having the script execute an external script and watch a text file for the output?
|
|
|
08-19-2018, 12:37 PM
|
#5
|
Human being with feelings
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
|
Breeder, it's so great to see ya back again here !
What a coincidence: a few hours back i posted a question about your great "glue items separate" Scripts on Reaper Stash.
(Sorry to be offtopic here).
|
|
|
08-19-2018, 02:22 PM
|
#6
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,451
|
|
|
|
08-19-2018, 04:04 PM
|
#7
|
Human being with feelings
Join Date: Nov 2008
Location: London, UK
Posts: 2,581
|
Quote:
Originally Posted by Breeder
Hi, long time no see
|
<3 <3 <3
|
|
|
08-19-2018, 05:33 PM
|
#8
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
Quote:
Originally Posted by Lokasenna
How can you use cURL from Reaper? Are you just having the script execute an external script and watch a text file for the output?
|
Exactly !
This is how Heda's manager internally works.
|
|
|
08-19-2018, 06:56 PM
|
#10
|
Human being with feelings
Join Date: Nov 2010
Posts: 2,436
|
Quote:
Originally Posted by Lokasenna
|
Quote:
Originally Posted by X-Raym
Oh, glad to see you here again !
Soundcloud HTTP API can support any language, as long as akes HTTP request and Json for parsing the results. You will need a user ID and a key for having access to the API.
From Lua with REAPER you can use cURL CLI to make the HTTP request. If you want to use Python, maybe cURL isn't necessary.
|
So it's doable in theory, awesome!
Quote:
Originally Posted by vanhaze
Breeder, it's so great to see ya back again here !
What a coincidence: a few hours back i posted a question about your great "glue items separate" Scripts on Reaper Stash.
(Sorry to be offtopic here).
|
Yes, I noticed it too and was WTF too - synchronicity is a beautiful thing, isn't it?
Quote:
Originally Posted by amagalma
|
Haha, this time hopefully doing more music and less coding As usual, I'll make sure to share anything useful I create
Quote:
Originally Posted by X-Raym
|
Quote:
Originally Posted by nofish
|
And this is it! Thanks guys - I'm so happy this is doable as it will probably allow for many hours saved. I too am happy to be using REAPER again - we didn't click properly for music creation so I'm glad new goals in life have brought me back to it. Thanks for all the kind words, I didn't expect that
__________________
REAPER ReWorked: An elegant and self-sufficient all-around REAPER configuration
Other stuff
Last edited by Breeder; 09-03-2020 at 03:33 PM.
|
|
|
08-20-2018, 01:42 PM
|
#11
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
|
Wohoooo, welcome back Breeder, we never talked before, but I saw so many great things you did for the Reaper community. Glad you are back!
|
|
|
08-20-2018, 04:27 PM
|
#12
|
Human being with feelings
Join Date: Nov 2010
Posts: 2,436
|
Quote:
Originally Posted by _Stevie_
Wohoooo, welcome back Breeder, we never talked before, but I saw so many great things you did for the Reaper community. Glad you are back!
|
Yes, I too amaze myself how I found the time to do all of it. Using contextual toolbars right now and I had to read the manual I wrote
But most things still seem to work - I had always hoped Cockos would give out API for contextual stuff so SWS developers wouldn't go through same torture I went by guessing resizing formulas with print-screening stuff to count pixels in photoshop and mouse set to speed 1 out of 100
__________________
REAPER ReWorked: An elegant and self-sufficient all-around REAPER configuration
Other stuff
Last edited by Breeder; 09-03-2020 at 03:33 PM.
|
|
|
08-20-2018, 04:42 PM
|
#13
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
|
Quote:
Originally Posted by Breeder
But most things still seem to work - I had always hoped Cockos would give out API for contextual stuff so SWS developers wouldn't go through same torture I went by guessing resizing formulas with print-screening stuff to count pixels in photoshop and mouse set to speed 1 out of 100
|
Haha, welcome in my world. When having coded something and returning after a while, I'm completely clueless...
Dude, I love your contextual toolbars! Best thing since sliced bread.
|
|
|
08-20-2018, 05:33 PM
|
#14
|
Human being with feelings
Join Date: Nov 2010
Posts: 2,436
|
Quote:
Originally Posted by _Stevie_
Haha, welcome in my world. When having coded something and returning after a while, I'm completely clueless...
|
I think that's normal Like we all get possessed by some coding genie and once the fun is over you're like "wtf is this shit"
__________________
REAPER ReWorked: An elegant and self-sufficient all-around REAPER configuration
Other stuff
Last edited by Breeder; 09-03-2020 at 03:33 PM.
|
|
|
08-20-2018, 05:42 PM
|
#15
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
|
Quote:
Originally Posted by Breeder
I think that's normal Like we all get possessed by some coding genie and once the fun is over you're like "wtf is this shit"
|
Totally!!! Haha, glad I'm not alone That genie is just around here, again...
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 07:48 AM.
|