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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
learnupon-0.2.0.tar.gz
(3.5 kB
view details)
Built Distribution
File details
Details for the file learnupon-0.2.0.tar.gz
.
File metadata
- Download URL: learnupon-0.2.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.17 CPython/3.7.2 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99ae562de918a585521c94fc231a2e379142285441a551758d20041956fb3cc1 |
|
MD5 | a6530fd984ad76c8136e2c4f751c9e39 |
|
BLAKE2b-256 | 0c833d31c280afb4afd5227de85660b5892b83116fbbb7e5b16d38fde65483ba |
File details
Details for the file learnupon-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: learnupon-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.17 CPython/3.7.2 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78835ff5cb2dff2fb5f73b4e70d75a12a66c7ddac94a095fb87bcc079cbedce9 |
|
MD5 | 0e7cf7ddde368ddd333f40a60e34b7a4 |
|
BLAKE2b-256 | 52d3ddade180305f6833d84ea4a9cc17cba4be475e97a3137cff10ea1d04ebb0 |