Skip to main content

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.

Source Distribution

talentlms-1.0.1.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file talentlms-1.0.1.tar.gz.

File metadata

  • Download URL: talentlms-1.0.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4

File hashes

Hashes for talentlms-1.0.1.tar.gz
Algorithm Hash digest
SHA256 584beff70275bc58d60cc4b2c760f2f6db46eba4fc290fe9e302bffa0e876953
MD5 14b286f0e2dc13b80e126323161b7ea8
BLAKE2b-256 8a7cad4322ce2ad37f75363ce9776201b4ae39d546e6971ad2d926046ea90c1f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page