Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

proctor-exam

Golang SDK wrapper for ProctorExam v3 API

How to install the library to be used in your golang project

You must set the following environment variables in order to be able to connect with the ProctorExam API:

PE_API_KEY=YOUR_API_KEY
PE_API_SECRET=YOUR_API_SECRET

You must also install the library in your GOPATH env:

go get -u github.com/serveba/proctor-exam

After having env vars configured and library installed, you can call directly the methods from your code. This is an example of how to do it:

import (
    ...
    proctorexam "github.com/serveba/proctor-exam"
    ...
)

... 
url, _ := url.Parse("https://yoursubdomain.proctorexam.com")
api, _ := proctorexam.New(proctorexam.BaseURL(url))
exams, _ := api.Exams()
...

ProctorExam Documentation

About

Golang SDK wrapper for ProctorExam v3 API

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages