Skip to main content

No project description provided

Project description

Swimlane Learnupon

Description

A python package for interacting with the LearnUpon LMS.

Installation

pip install learnupon

Usage

from learnupon import LearnUpon

learnupon = LearnUpon(portal_url="https://myportal.learnupon.com", 
                      username="abc123", password="def456")
# Get all users
users = learnupon.get_users()
# Get user by email
user = learnupon.search_for_user(email='some.user@company.com')
# Get user by user_id
user_again = learnupon.get_user(user_id=user['id'])
# Create a new user
new_user = learnupon.create_user(email='some.user@company.com',
                                 password="Thisisapassword")
# Invite a new user by email                      
new_user = learnupon.invite_user(email_address="new_user@mycompany.com")
# Get Courses (Optional name filter)
courses = learnupon.get_courses(name='Course Name')
# Get All Groups
groups = learnupon.get_groups(title="Group Name")
# Create Group Invite
group_invites = learnupon.create_group_invite(group_id=groups[0]["id"], 
                                             email_addresses=['user1@company.com', 'user2@company.com'])

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for learnupon, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size learnupon-0.2.0-py3-none-any.whl (3.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size learnupon-0.2.0.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page