Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

TalentLMS API Python library

Project description

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': 'jsmith@example.com',
        '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

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 talentlms, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size talentlms-1.0.1.tar.gz (3.7 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