Questions tagged [coursera-api]

For questions about the Coursera App Platform, accessed programmatically.

Use this tag if you have questions about programming against the Coursera App Platform.

Do not use this tag for any problem you may have with homework for a Coursera course. Just use language and technology specific tags, there is no need to tag your question with the site you are using to learn.

74 questions
15
votes
1 answer

How to get Coursera API Docs ?

Hi I want to use Coursera API for a tech blog purpose, like retrieving list of courses (course details, course duration , etc...) I try in coursera website to enroll for their developer program :…
jerem
  • 1,016
  • 2
  • 12
  • 27
5
votes
2 answers

Logging into a Coursera account Using Python

I had learned a lot of things from MOOCs so I wanted to return something back to them for this purpose I was thinking of designing a small app in kivy which thus requires python implementation, Actually the thing I wanted to achieve was to log in to…
ZdaR
  • 22,343
  • 7
  • 66
  • 87
4
votes
0 answers

startswith first arg must be bytes or a tuple of bytes, not str: 'Python for everybody' Coursera

I am completing the 'Python for everybody' course on coursera. I am stuck on the 'Mailing List Data - Part I' I have the following code below: import sys import sqlite3 import time import ssl from urllib import request from urllib.parse import…
Caledonian26
  • 727
  • 1
  • 10
  • 27
4
votes
3 answers

Access the data form Coursera api using jquery jsonp

Today I was trying to access the coursera api using jquery after reading the Coursera catalog documentation. I wrote a code and got an error No 'Access-Control-Allow-Origin' header is present on the requested resource. So did some google and found…
Ankit Kulkarni
  • 1,245
  • 3
  • 14
  • 23
3
votes
2 answers

Cannot download using coursera-dl, Error 404

I am trying to use coursera-dl in windows to download coursera videos using this command: coursera-dl neural-networks-deep-learning it gives this error: coursera_dl version 0.11.5 Downloading class: neural-networks-deep-learning (1 / 1) Parsing…
3
votes
3 answers

Code is working fine in my system but coursera autograder is giving me unknown signal

Task -- The goal in this code problem is to implement the binary search algorithm. Input Format -- The first line of the input contains an integer n and a sequence a0 < a1 < ... < an−1 of n pairwise distinct positive integers in increasing order.…
2
votes
1 answer

Ngrok Falied to complete Tunnel connection

I am working on my first Django project. Trying to connect to the auto-grader for my course through ngrok.I ran python manage.py runserver. I can see the website at http://127.0.0.1/8000 and it is working. I tried the command ngrok http 80 and got a…
ArNY
  • 65
  • 1
  • 9
2
votes
8 answers

Why "Using python interact with Operating System"'s week 1 Qwiklabs Assessment: Working with Python code is not correctly working

On Google IT automation with python specialization "Using python interact with Operating System"'s week 1 Qwiklabs Assessment: Working with Python 3rd module is not properly work on ~/scripts directory : network.py code #!usr/bin/env…
2
votes
4 answers

tensorflow error when installing turicreate?

When I install turicreate package, it gives me the following error: Collecting tensorflow>=2.0.0 (from turicreate) Could not find a version that satisfies the requirement tensorflow>=2.0.0 (from turicreate) (from versions: 0.12.1, 1.0.0, 1.0.1,…
2
votes
0 answers

Error in file(file, “rt”) : cannot open the connection

I'm new to R, and after researching this error extensively, I'm still not able to find a solution for it. Here's the code. I've checked my working directory, and made sure the files are in the right directory. Appreciate it. Thanks **pollutantmean…
C.David
  • 21
  • 1
2
votes
2 answers

get Coursera video download link via program

I want extract Coursera video download link via program(mainly Python) behind those…
iMath
  • 2,326
  • 2
  • 43
  • 75
2
votes
1 answer

redirect_uri for a website using oAuth

I am working on an android app using the kivy framework , for which I require using the coursera API described here:https://tech.coursera.org/app-platform/oauth2/ The point of consideration is : An example request (with line breaks and spacing for…
ZdaR
  • 22,343
  • 7
  • 66
  • 87
1
vote
1 answer

How can I refactor this code to return the frequency of numbers instead of frequency of characters?

I saw this Python code to show frequency of characters and I would like it to return frequency of strings but I am unable to do it right def count_letters(text): import string result = {} # Go through each letter in the text …
EdBoi4
  • 21
  • 4
1
vote
1 answer

Coursera-dl not downloading classes command prompt Windows

I have been trying to install some lectures from coursera using the coursera-dl command, installed via : pip install coursera-dl I also did the coursera-dl.conf file, which includes my username, password, download preferences and cauth from…
Manukapp
  • 21
  • 5
1
vote
2 answers

When running the query in Sqlite, I get the answer as 9.9. But that is not the correct answer

[https://www.sqlitetutorial.net/sqlite-sample-database/] I wrote this code to get the answer to 'What is the total price for the album “Big Ones”?' SELECT al.Title, i.Total, tr.albumid, SUM(tr.UnitPrice) FROM ((((artists ar INNER JOIN albums al ON…
1
2 3 4 5