Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 348 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 348 Bytes

GoCanvas

TODO

import (
    "goCanvas/pkg/instructure/models"
    "goCanvas/pkg/instructure/service"
)

// Create a new Provider.
p := service.Provider{
    BaseURL: "canvas.uva.nl/api/v1/",
    AccessToken: "{your-access-token}",
}

// Fetch the profile using the provider.
var profile *models.Profile 
profile, ok = p.FetchProfile()