API Query


#1

Hello, I’m working on trying to extract data from the rt_rtm_media table to use in a picture “battle” app. I use rtmedia pro for my images but I need to pull them by album_id into another wordpress app. I was looking through your API but it appears that the media-endpoint information link is empty? Basically i need the following information extracted:

SELECT media_id FROMwp_rt_rtm_mediaWHEREalbum_id= 192
‘SELECT guid FROM wp_posts WHERE ID = 2424’

Obviously the album_id is an example but I would need all corresponding id’s to query from guid in the wp_posts table in order to get the file information.

Is there an easier way to do this with your API?

I couldn’t find the media-endpoint info on your API page.
https://rtcamp.com/rtmedia/docs/developer/rtmedia-api/endpoints/media-endpoint


#2

Hi Jason,

I am kinda confused here. I can’t understand what exactly you’re trying to achieve?

The doc for JSON API is here -> https://rtcamp.com/rtmedia/docs/developer/json-api/


#3