Shell

Here is a simple example of how to contact the Skriv API.

This example prints the name of a project. It uses cURL 1 and jq 2 command-line tools.

curl -s -u "$PUB_KEY:$PRIV_KEY" "https://api.skriv.com/1/project/get/$ORG_ID/$PROJECT_ID" | jq ".name"

1. for the connection to the API

2. for JSON parsing