Old 08-19-2018, 10:12 AM   #1
Breeder
Human being with feelings
 
Breeder's Avatar
 
Join Date: Nov 2010
Posts: 2,436
Default 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.
Breeder is offline   Reply With Quote
Old 08-19-2018, 10:29 AM   #2
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Welcome back!

I imagine you'll need this, for starters: https://forum.cockos.com/showthread.php?t=129696
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 08-19-2018, 12:03 PM   #3
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

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.
X-Raym is offline   Reply With Quote
Old 08-19-2018, 12:25 PM   #4
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Quote:
Originally Posted by X-Raym View Post
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?
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 08-19-2018, 12:37 PM   #5
vanhaze
Human being with feelings
 
vanhaze's Avatar
 
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
Default

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).
__________________
Macbook Pro INTEL | Reaper, always latest version | OSX Ventura | Presonus Studio 24c
My Reaper Tips&Tricks YouTube Channel: https://www.youtube.com/user/vanhaze2000/playlists
vanhaze is offline   Reply With Quote
Old 08-19-2018, 02:22 PM   #6
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 3,451
Default

Breeder is back! Breeder is back!!!
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Old 08-19-2018, 04:04 PM   #7
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,581
Default

Quote:
Originally Posted by Breeder View Post
Hi, long time no see
<3 <3 <3
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 08-19-2018, 05:33 PM   #8
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

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.
X-Raym is offline   Reply With Quote
Old 08-19-2018, 06:12 PM   #9
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,096
Default

https://forum.cockos.com/showthread.php?t=82199
(Source also still available on the stash)

And nice to see you back.
nofish is offline   Reply With Quote
Old 08-19-2018, 06:56 PM   #10
Breeder
Human being with feelings
 
Breeder's Avatar
 
Join Date: Nov 2010
Posts: 2,436
Default

Quote:
Originally Posted by Lokasenna View Post
Welcome back!

I imagine you'll need this, for starters: https://forum.cockos.com/showthread.php?t=129696

Quote:
Originally Posted by X-Raym View Post
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 View Post
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 View Post
Breeder is back! Breeder is back!!!
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 View Post
Exactly !


This is how Heda's manager internally works.
Quote:
Originally Posted by nofish View Post
https://forum.cockos.com/showthread.php?t=82199
(Source also still available on the stash)

And nice to see you back.
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.
Breeder is offline   Reply With Quote
Old 08-20-2018, 01:42 PM   #11
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
Default

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!
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is offline   Reply With Quote
Old 08-20-2018, 04:27 PM   #12
Breeder
Human being with feelings
 
Breeder's Avatar
 
Join Date: Nov 2010
Posts: 2,436
Default

Quote:
Originally Posted by _Stevie_ View Post
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.
Breeder is offline   Reply With Quote
Old 08-20-2018, 04:42 PM   #13
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
Default

Quote:
Originally Posted by Breeder View Post
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.
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is offline   Reply With Quote
Old 08-20-2018, 05:33 PM   #14
Breeder
Human being with feelings
 
Breeder's Avatar
 
Join Date: Nov 2010
Posts: 2,436
Default

Quote:
Originally Posted by _Stevie_ View Post
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.
Breeder is offline   Reply With Quote
Old 08-20-2018, 05:42 PM   #15
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
Default

Quote:
Originally Posted by Breeder View Post
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...
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:48 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.