Skip to main content

OneUp Learning SDK

This is a Python SDK to allow for the scripting and integration of the OneUp Learning platform developed by West-Salem State University.

Installation

The package is available through Python's package management system:

pip install oneupsdk

Configuration

You can request an account by contacting Darina Dicheva. Once you have an account, create a config.yaml file containing your authentication information. This file is parsed by the SDK to authenticate your API calls.

oneup:
  username: "username"
  password: "OneUP-P4ssW04d!"

Usage

Below are the macros that are available from the subpackage oneupsdk.integration. Note that a call to set_active_course() must be made before most of the other calls will work.

  • Courses

    • get_instructor_courses()
    • set_active_course(course_id)
    • get_active_course()
  • Students

    • get_enrolled_students()
    • get_student_by_id(user_id)
    • get_student_by_username(username)
    • add_student(email, password, first=None, last=None, user_id=None)
    • modify_student(username, email=None, password=None, first=None, last=None, new_user_id=None)
    • delete_student(user_id)
  • Activities

    • get_activity_by_id(activity_id)
    • create_activity(name, **kwargs)
    • modify_activity(activity_id, **kwargs)
    • post_activity_points(activity_id, data, as_dict=False)
    • delete_activity(activity_id)
    • Activity categories
      • get_activity_categories()
      • get_default_activity_category()
      • create_activity_category(name)
      • delete_activity_category(category_id)

References

Dicheva, Darina, Keith Irwin, and Christo Dichev. "OneUp learning: a course gamification platform." In International Conference on Games and Learning Alliance, pp. 148-158. Springer, Cham, 2017. (link)

Dicheva, Darina, Keith Irwin, and Christo Dichev. "OneUp: Supporting Practical and Experimental Gamification of Learning." International Journal of Serious Games 5, no. 3 (2018): 5-21. (link)

Dicheva, Darina, Keith Irwin, and Christo Dichev. "OneUp: Engaging Students in a Gamified Data Structures Course." In Proceedings of the 50th ACM Technical Symposium on Computer Science Education, pp. 386-392. 2019. (link)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oneupsdk-0.0.9.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oneupsdk-0.0.9-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file oneupsdk-0.0.9.tar.gz.

File metadata

  • Download URL: oneupsdk-0.0.9.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.5

File hashes

Hashes for oneupsdk-0.0.9.tar.gz
Algorithm Hash digest
SHA256 1fdaf6dfd3349871f936ce03fd571157b9bb88b3ed00cfb992998a9067d108a1
MD5 84fe3b63afd16413a626b226c75c7a0b
BLAKE2b-256 cd0c29318cf58175876148b51362f50737a2ed79f58b42ac8fdf919e85101b93

See more details on using hashes here.

File details

Details for the file oneupsdk-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: oneupsdk-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.5

File hashes

Hashes for oneupsdk-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 5fb335656eab2dadde3353f80e8f0a0d23ef0a4a52eaac302aacb0b5f4ccd39b
MD5 e0818f37e2517f281f353a6dfa2fe2a3
BLAKE2b-256 0b4c207da89d82f51763b6046d6eae17b00b019cd48b5a859296884374c5595f

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.9 This release

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page