Skip to content

ThinkSmart/API_Examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Examples

README (last updated 07/06/17)

We will be adding examples around how to use our API to this GitHub repo.

Further documentation can be found on Apiary and Swagger.

Example #1: This example uses the resource owner flow to get an access token, get a template ID, and submit a workflow with values defined in the script.

Example #2: This example does the same thing as Example #1 but uses implicit flow. The script will open a login page in the web browser, ask the user to copy and paste the URL of the redirect page, parse for an access token, and submit a workflow.

Example #3: This example does the same thing as Example #1 but uses the authorization code flow (the most secure of the three flows). The script will open a login page in the web browser, ask the user to copy and paste the URL of the redirect page, parse for the code, use the code to get an access token, and submit a workflow.

Workflow_via_CSV: These files can be used to initiate a workflow any number of times with field names and values taken from a CSV file. The template file uses resource owner flow and reports on data for each workflow instance, including errors.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages