REST api with edX (fetch data)

1,550 views
Skip to first unread message

Dimitris Gerolimatos

unread,
Jul 27, 2015, 9:18:41 AM7/27/15
to General Open edX discussion
Hi, 

We would like from our company to get the list of edX courses and their details in order to use them in our internal learning portal for our employees. 
is there any way that we can do this with REST requests for example, without having an edX platform instance?

from what I understand, if I send a GET request to the url: 


I see that I need to be authenticated (using Oauth??) first in order to get the reply in ,for example, JSON format. 

thanks for support 

br,
Dimitris

David Baumgold

unread,
Jul 28, 2015, 10:40:37 AM7/28/15
to General Open edX discussion, dimitris.g...@gmail.com, dimitris.g...@gmail.com
Dimitris, are you talking about the list of courses running on edx.org? For that, you would need an OAuth key to access that API endpoint, and I don't believe that edx.org currently gives out OAuth keys. That API endpoint is currently intended for internal use only, although hopefully that will change over time as edX continues to develop these APIs.

If you want to run your own Open edX installation, then you'll be able to access this API endpoint from your own instance, and it will return information about the courses you have running on your own installation. But since you specifically say that you don't want to have an edX platform instance, it sounds like that's not what you're looking for.

David Baumgold

Peter Pinch

unread,
Jul 28, 2015, 10:46:22 AM7/28/15
to edx-...@googlegroups.com
Perhaps the RSS feed from www.edx.org is sufficient? 


That's what we use to scrape course listings for MIT. 

- Peter



Peter Pinch |  Associate Director of Engineering, Office of Digital Learning
Massachusetts Institute of Technology
One Main Street  |  Cambridge MA 02142
pdp...@mit.edu | T 617-253-6256C 617-652-0183






-- 
You received this message because you are subscribed to the Google Groups "General Open edX discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/01c05d89-88ee-4afb-b2eb-f838b23b4b07%40googlegroups.com.

Andy Armstrong

unread,
Jul 28, 2015, 11:06:54 AM7/28/15
to edx-...@googlegroups.com
I ran into the same issue last week at the edX hackathon, so I've made a JIRA ticket suggesting that we allow anonymous access to the course-level APIs:


Thanks,

 - Andy




--

Andy Armstrong

edX | UI Architect  | an...@edx.org  

141 Portland Street, 9th floor

Cambridge, MA 02139

http://www.edx.org

http://www.e-learn.nl/media/blogs/e-learn/edX_Logo_Col_RGB_FINAL.jpg?mtime=1336074566

Sarina Canelake

unread,
Jul 28, 2015, 11:11:59 AM7/28/15
to edx-code
Andy - ECOM tickets aren't publicly visible, FYI. Using a public project when possible is best; if that's not possible, please follow up on this email thread when the ticket is updated.

Dimitris Gerolimatos

unread,
Jul 29, 2015, 5:26:53 AM7/29/15
to General Open edX discussion, pdp...@gmail.com
Hi Peter, 

many thanks for the tip. 
However, this rss feed provides a short list of the courses from edX. 
I mean, maybe the link includes only updates on courses, newly published perhaps. 
I'm afraid that parsing the link's data will not give us the whole course list
Reply all
Reply to author
Forward
0 new messages