Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Examples overview

example description
create_content.py Example on how to create a step, a lesson and a course using API.
download_random_leader_avatar.py Get leader user randomly from 100 leaders and download his avatar.
export_course.py Save course (all step sources) as in a foldered structure. Requires instructor access.
get_certificates_urls_example.py Create HTML file with all user certificates.
get_countries_all_count.py Count the number of countries known. Another example of how to use multiple api pages if size of response is unknown.
get_courses_authors.py Get list of all courses and create list of authors, ever involved in course creation process.Then print data aggregated by author name.
get_courses_by_params.py Select active courses by specifing parameters such as: amount of units, language, number of overall discussions.
get_enrolled_courses.py Generate HTML-report with all enrolled courses for user. Example of using multiple IDs in one API call.
get_info_all_courses_titles.py Receive all courses titles and count courses with "Python" word in title.
get_leaders_social_profiles.py Get social profiles for leaders, if available.
get_learn_events.py Get all learning events for user and prints them.
get_ten_users_with_highest_reputation.py Prints list of ten highest users by reputation.
get_top_lessons_by_reactions.py Get top lessons by reaction on recommendations.
get_user_courses.py Example of getting all user courses using course-subscriptions endpoint and some info about them.
get_user_name.py Get username using auth token. Simple version.
oauth_auth_example.py Example of OAuth authentification, used pretty all around all other examples.
plot_course_viewed_by.py Script gets view statistics for all of the steps in some course and then displays it. The trend is usually (naturally) declining. By default uses course 187.
plot_lesson_stats.py Generates HTML, download lessons' data one by one, then we make plots to see how much the loss of the people depends on the lesson time.
popular_courses.py Calculate sum of all enrollments for popular courses.
recommendations_top_example.py Prints list of top 10 recommended lessons for user. Warning! Get list of ALL lessons from stepik, so it might take a long time.
save_course_steps.py Saves all step texts from course into single HTML file. Example of using multiple IDs in one API call.
top_lessons_to_html.py Generate HTML with top lessons sorted by number of views.
videos_downloader.py Downloads all video files from a module (week) of a course or the whole course.