Welcome to the Tagged Products walkthrough. As you read through and try out the example API requests, you will be introduced to the basics of using the EVRYTHNG Platform in the tagged products context. You will learn about:
- Projects and applications, which are used to scope resources.
- Products and Thngs, which are the core data storage resources in the Platform.
- Actions, which can be used to model data update events and notifications.
- Limiting access to data with roles and visualising it through widget dashboards.
This API walkthrough is themed around a simple inventory management scenario — using the EVRYTHNG Platform to gain insights into a supply chain and the tagged product’s journey from factory to store. We model the data and interactions such a product would make through the Platform during this lifecycle.
All of the examples here use
curl, a standard Mac/Linux terminal program used to make web requests. You can simply paste the examples into your Mac or Linux terminal and immediately see the results. In some cases, you will need to replace a placeholder with a real value obtained from previous steps. In most cases, you will need to replace
$OPERATOR_API_KEY in each example with your own.
To use the EVRYTHNG Platform, create a free account and get an Operator API Key. One of several types of API keys, the Operator API Key allows request to be made on behalf of an account holder, and has the highest privileges.
To begin, create a Dashboard account and log in. The EVRYTHNG Dashboard lets you visually interact with all the resources in your account and is good for performing small-scale tasks. In addition to managing resources, you can set up and use widget dashboards to gain insights into the data in your account. But for this API walkthrough, we only require the Operator API Key.
Click your account name in the top right menu and choose Account Settings. Click Show key to display the Operator API Key and click the copy icon. Paste it into a plain text editor so you can refer back to the operator key as you continue this walkthrough.
To make using the walkthrough code examples as simple as possible, we recommend you export your Operator API Key at the start of your terminal session. This saves from having to insert it into every request. For example, in your user profile (such as
.bash_profile or similar), or in the terminal itself:
As more types of API keys are introduced, export these as well using the names specified in the examples as needed. For example,
APPLICATION_USER_API_KEY for the Application User API Key.
Updated 17 days ago