0 purchases
talentlms 1.0.1
TalentLMS API Python library
Python implementation of the TalentLMS API.
Method names correspond one-to-one to API method names but have underscores separating words in API method names.
Example use
import talentlms
API_KEY = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
lms = talentlms.api('example.talentlms.com', API_KEY)
try:
new_user = lms.user_signup({
'email': '[email protected]',
'first': 'John',
'last': 'Smith',
'login' 'jsmith',
'password': 'XXXXXXXXXXXXX'
})
lms.user_set_status(new_user['id'], 'active')
except talentlms.UserAlreadyExistsError:
pass
Requirements
Python >= 2.7
License
MIT
Credits
Written by Ivan Butorin
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.