Description Usage Arguments Value Examples
This function allows you to retrieve metadata for a single protocol
1 | getProtocol(user, id)
|
user |
A labstep user object. Must contain an 'api_key' field. Returned from 'login' command |
id |
ID of the protocol to retrieve |
Returns a 'protocol' object
1 2 3 | user <- login("demo@labstep.com","demopassword")
protocol <- getProtocol(user,6140)
print(protocol)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.