
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
This is a tool for Ed LMS API handling.
Source documentation of api is available here
pip install nftl-ed-lms-tools
from nftl_ed_lms_tools.client import EdClient
ed = EdClient(token='xoxp-...')
users = ed.get_users_api().get_users()
if users:
print('Yupi!')
from nftl_ed_lms_tools.client import EdClient
ed = EdClient(token='xoxp-...')
users = ed.get_users_api().get_users()
if users:
print('Yupi!')
Get a list of users.
Args:
token: optional auth token that will overwrite EdApi token
Returns:
None if data is invalid or users info as :py:class:`typing.List`
when success
Create or update a user.
Args:
user_data: user data to create or update
token: optional auth token that will overwrite EdApi token
Returns:
None if data is invalid or users info as :py:class:`typing.List`
when success
Get users authentication token by externalId.
Args:
external_id: users external identifier
token: optional auth token that will overwrite EdApi token
Returns:
None if data is invalid or users info as :py:class:`typing.List`
when success
Get users authentication token by user id.
Args:
user_id: users external identifier
token: optional auth token that will overwrite EdApi token
Returns:
None if data is invalid or users info as :py:class:`typing.List`
when success
from nftl_ed_lms_tools.client import EdClient
ed = EdClient(token='xoxp-...')
groups = ed.get_usersgroups_api().get()
if groups:
print('Yupi!')
Get a list of user groups.
Args:
token: optional auth token that will overwrite EdApi token
Returns:
None if data is invalid or user groups info as
:py:class:`typing.List` when success
Create or update a user group.
Args:
group_data: group data to create or update
token: optional auth token that will overwrite EdApi token
Returns:
None if data is invalid or group info as :py:class:`typing.Dict`
when success
Available here
FAQs
Tool 4 partial Ed LMS API handling
We found that nftl-ed-lms-tools demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.