Quantcast
Channel: m2mio
Viewing all articles
Browse latest Browse all 9

the m2m.io portal @ app.m2m.io

$
0
0

The m2m.io portal is available now; sign-up is free! We have created a simple user interface for monitoring all of your m2m.io data. It uses the same API calls outlined in our REST API page at m2m.io. Some of these are also outlined in other posts of this blog.

Upon creating an account, you will get 5 free licenses. Each license allows one client to connect. From here you can make the various API calls such as account, license, domain, stuff, past and present. In addition, we allow you to sign-up using social media accounts including Facebook, Twitter, Google and GitHub. Upon sign-up, the site will ask you which email address to connect your ID to in case the one you want to use differs from the email address that is connected to your social media account.

Let’s review each call and explain what type of data will be returned. The account call is used to create an account and retrieve your data. The account call

GET /1/account

will return data about your account, including your registered email address, your domain, your password, aclid and key. You can select tabs to view your data in table format

or JSON format.

The license call

GET /1/license/{domain}

will show the license info including aclid, account id, token, activation date, and key. The site returns this data for each license associated with your account and again gives you tab-selectable views of your data.

The domain call

GET /1/domain/{domain}

returns information about your domain. Including the name, domain, key, license limit (again, you get 5 free), and your stuff.

There are three stuff calls you make using the m2m.io portal. The first one is

GET /1/stuff/{domain}

which returns data about all of your things associated with your domain. You can sort and search this list.

The second stuff call is the

GET /1/stuff/domain/{stuff}

call which allows you to search for specific stuff.

Last, the

GET /1/stuff/domain/{stuff}/{whatever}

which returns information about your stuff based on domain, stuff and comma-separated whatevers.

The past call is in this format

GET /1/past/{domain}/{stuff}/{thing}?whatevers={some whatever}&limit={num}&end={epoch}&start={epoch}

and allows you to make a history call, returning time-descending historical data from this thing. You can limit the number of returns along with searching a specific time frame.

There are two present calls. First

GET /1/present/domain/{stuff}/{thing}

returns the last known data feed sent by this thing. The other present call is used to retrieve data about multiple things.

GET /1/multipresent/{domain}/{stuff}/{thing}?whatevers={comma-separated list}

so it returns the last known data feed sent by this thing for each whatever you provide.

You can use our mqtt.io site or Mac client to publish data, or retrieve data from other monitoring equipment or sensors.



Viewing all articles
Browse latest Browse all 9

Trending Articles