Accredible Script Started

This commit is contained in:
Norm Rasmussen
2023-06-07 22:10:31 -04:00
parent f4faed7dc1
commit 20ef5dab44

View File

@ -0,0 +1,15 @@
import requests
url = "https://api.accredible.com/v1/credentials"
# POST
attributes = {
# id: this can be any string. perhaps we set it to an email for easy ref?
recipient.name: "{{ learner.name }}",
recipient.email: "{{ learner.email }}",
group_id: 461982,
name: "Credential Name",
issued_on: "date",
expired_on: "date",
complete: "bool",
private: "bool",
}