D2L Regonal Conferance Presentation
-
Upload
glenn-watt -
Category
Education
-
view
1.647 -
download
3
Transcript of D2L Regonal Conferance Presentation
VALENCE API BASICSGlenn WattMay 2, 2013
WHAT WILL THIS SESSION COVER?
• What is the Valence API
• How do you setup Valance API
• How do you use it?
• What gets sent to D2L
• What gets returned from D2L
WHAT IS VALENCE API?
REST API• REST Representational State Transfer
• Client Server Architecture
• Stateless
• Cacheable
• Layered System
• Code On Demand (Not Supported)
• Uniform Interface
REST API
• GET
• POST
• PUT
• DELETE
OATH• Open Standard for Authentication
D2LYour APP
Image courtesy Wikipedia.org
User
. .<
HOW DO YOU SETUP VALENCE
API ID AND KEY
• Must have a Google Account
• Make a key request to D2L using KEY TOOL
KEY TOOLhttp://keytool.valence.desire2learn.com/extensionmanagement/ui/
AppDeveloperKeys.php
KEY TOOL
KEY TOOL
KEY TOOL
KEY TOOL
D2L ENABLE API
ROLES AND PERMISSIONS
MANAGE EXTENSIBILITY
EXTENSIBILITY MANAGEMENT
HOW DO YOU USE IT?
SDKhttp://docs.valence.desire2learn.com/clients/index.html
DOWNLOAD
Demo
SEND TO D2L
API REFERENCE
API REFERENCE
/d2l/api/lp/1.0/users/&userid=wattg
RECEIVE FROM D2L
JSON
JSON
VALENCE API REFERENCE• http://docs.valence.desire2learn.com/reference.html
THIS SESSION COVERED
• What is the Valence API
• How do you setup Valance API
• How do you use Valence?
• What gets sent to D2L
• What gets returned from D2L
RESOURCES
• Valence documentation home page: http://desire2learn.com/r/valencehome/
• Key Request Instructions http://docs.valence.desire2learn.com/clients/tools/keytool.html
• SDK http://docs.valence.desire2learn.com/clients/index.html
VALENCE API BASICSGlenn WattMay 2, 2013