How to series: Build IoT projects with Qubitro APIs - Part 2

How to series: Build IoT projects with Qubitro APIs - Part 2

This section will show you how to use the Qubitro API Playground.

Hello again! So, this is the second part of the Qubitro API Series. Have you remember what we have done in the last part.

Quick Recap:

  • Setting up the Qubitro Cloud Connection
  • Developing an MQTT simulation
  • Visualizing the incoming Data
Here is the Part 1 of  How to series: Build IoT projects with Qubitro APIs.

Now that you know what we did in the previous section, we'll learn how to utilize the Qubitro API playground to receive and analyze our IoT data in this lesson.

Use this URL to get into the Qubitro API Playground

Once you open this URL, you can see the below page.

You can see there are a bunch of options available.

Let's go over the initial API options one by one. These are the endpoints that will retrieve specific project and profile information.

Then there are API Call Requests and API Response, which will indicate the number of requests we've made using API Connections and the status code of our API Requests.

Language options and access keys come next. The language specifies the programming language used to establish an API connection, while the access key specifies the type of password used to protect your data.

Note: Do not share your API access key with anyone or any platform. You have complete authority over your Qubitro account if you have an API access key.

The next is the API Request code, which is used to make an API Request with all our information.

Qubitro supports API requests in 19 programming languages.

Then we'll go on to the API Response Output, which will display the API Request's output response.

Please see the following documentation for additional information about Qubitro APIs, please follow this link.

Let's make some simple Requests:

To begin, we must obtain our Access Key from our gateway. To obtain your account's access key, follow this link.

This is how the Access Key Page will appear on the Qubitro Portal.

Copy the access key and paste it into the authentication section of the Qubitro API Playground.

Get projects
Open this URL in your browser.

The given URL will take you to the Qubitro project endpoint, where you can access information on the Qubitro project.

This is the format of the access key.

And choose your preferred language; I went with Python.

After you've chosen a language, the code for that language will appear like this.

Simply click the try it! Button to see the details of your project, which should look something like this.

I believe you now have a basic understanding of the Qubitro API Playground. Then we'll go into some other interesting topics.

We got some data from Qubitro before, and now we'll send some data to Qubitro. It would be best if you went to a different endpoint for this. [Create a new project]

You must now upgrade your account to create multiple projects. (since we already made one thing in the previous tutorial)

This page will ask for two pieces of information: a project description and a project name. Fill in the blanks and hit Try Now!. [You won't have to enter your API access key again; Qubitro will do it for you]

Simply go to the Qubitro Portal, and the newly generated project will appear in your portal.

In my case, the API Demo project was created by the API.

Now that you've learned about Qubitro APIs, please share your thoughts and suggestions on Qubitro and the Qubitro API, and don't forget to join our Discord channel.

Let's get together again in another tutorial. Bye Bye.....👋

Subscribe to Qubitro Blog

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.