Hi! When trying to create an app which communication type is Push, I am able to define Channels. When looking at the Sample Push Request you will see that they become part of the URL within the last row, like variables. But what they are good for and how to use them? I don't get it. Thank you in advance!
Best Answer
L
LaMetric Technical Support
said
over 8 years ago
Hi! Channels are like pipes for your push messages. Useful for news providers. For example, if we talk about news, I can think of such channels: World News, Economics, Entertainment, Celebrities, etc. So inside the app user will be able to choose what he/she is interested in. On server side, developer is able to push different messages to different channels like this:
http://<push_url>?channels=World%20News or http://<push_url>?channels=Economics.
Also there is an ability to push to multiple channels using comma separator. http://<push_url>?channels=Celebrities,Entertainment.
Hi! Channels are like pipes for your push messages. Useful for news providers. For example, if we talk about news, I can think of such channels: World News, Economics, Entertainment, Celebrities, etc. So inside the app user will be able to choose what he/she is interested in. On server side, developer is able to push different messages to different channels like this:
http://<push_url>?channels=World%20News or http://<push_url>?channels=Economics.
Also there is an ability to push to multiple channels using comma separator. http://<push_url>?channels=Celebrities,Entertainment.
Jörg Otto
Hi! When trying to create an app which communication type is Push, I am able to define Channels. When looking at the Sample Push Request you will see that they become part of the URL within the last row, like variables. But what they are good for and how to use them? I don't get it. Thank you in advance!
Hi! Channels are like pipes for your push messages. Useful for news providers. For example, if we talk about news, I can think of such channels: World News, Economics, Entertainment, Celebrities, etc. So inside the app user will be able to choose what he/she is interested in.
On server side, developer is able to push different messages to different channels like this:
http://<push_url>?channels=World%20News or http://<push_url>?channels=Economics.
Also there is an ability to push to multiple channels using comma separator.
http://<push_url>?channels=Celebrities,Entertainment.
Hope this helps.
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstLaMetric Technical Support
Hi! Channels are like pipes for your push messages. Useful for news providers. For example, if we talk about news, I can think of such channels: World News, Economics, Entertainment, Celebrities, etc. So inside the app user will be able to choose what he/she is interested in.
On server side, developer is able to push different messages to different channels like this:
http://<push_url>?channels=World%20News or http://<push_url>?channels=Economics.
Also there is an ability to push to multiple channels using comma separator.
http://<push_url>?channels=Celebrities,Entertainment.
Hope this helps.
Manfred
Channels are ignored if http://<push_url> is a local push url instead of https://developer.lametric.com
Is this a bug or a feature?
-
How to pull data from external site to display?
-
nodejs request "gets acces denied"
-
curl to python for eventghost
-
Push text from Eventghost to LaMetric via python
-
Basic API pull and json parse example....
-
A guide for starting an app?
-
A small wrapper to push your just created JIRA issues to your LaMetric.
-
Simple project to push home consumption data to be shown on a Lametric device
-
Interface to have Slack send messages to a LaMetric Time
-
Very simple module to push frames to LaMetric
See all 149 topics