module BlackBoard::Dl

Defined in:

blackboard-dl/client.cr
blackboard-dl/version.cr
cli.cr

Constant Summary

BB_VERSION = "4.1.2"
COOKIES = {"s_session_id" => "", "session_id" => "", "web_client_cache_guid" => ""}
COURSE = "/webapps/Bb-mobile-bb_bb60/courseMap?v=1&f=xml&ver=4.1.2"
COURSES_PATH = "/webapps/Bb-mobile-bb_bb60/enrollments?v=1&f=xml&ver=4.1.2&course_type=ALL&include_grades=false"
HEADERS = HTTP::Headers {"User-Agent" => "Mobile Learn/3333 CFNetwork/758.0.2 Darwin/16.0.0", "Accept-Language" => "en-gb"}
LOGIN = "/webapps/Bb-mobile-bb_bb60/sslUserLogin?v=2&f=xml&ver=4.1.2"
SEARCH_HOST = "https://mlcs.medu.com/api/b2_registration/match_schools/?"

Constants

VERSION = "0.5.1"

Class Method Summary

Class Method Detail

def self.check_y_n(choice) #

Check for yes or no.


[View source]
def self.download(bb_url, bb_username, bb_password) #

Download courses material with a college url, username & password.


[View source]
def self.download_as_daemon(bb_username, bb_password) #

Download course material as a daemon with a username & password.


[View source]
def self.load_selected_college #

Load selected college if it exists.


[View source]
def self.run #

Runs the blackboard-dl commandline utility.


[View source]
def self.save_selected_college #

Save selected college.


[View source]
def self.search_college #

Search for the students college.


[View source]