Skip to content

Instantly share code, notes, and snippets.

@deependersingla
Created November 26, 2015 08:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deependersingla/c094d9d624f11f235842 to your computer and use it in GitHub Desktop.
Save deependersingla/c094d9d624f11f235842 to your computer and use it in GitHub Desktop.
payload = {
"credential":
{
"name": course_name,
"description": description,
"achievement_id": contents['course_id'] ,
"course_link": "/courses/" +contents['course_id'] + "/about",
"approve": approve,
"template_name": course_name,
"grade": grade_contents,
"recipient": {"name": contents['name'],
"email": student.email}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment