List Channels
List public channels with HTTP GET
Request
HTTP Method
GET
URL
https://api.thingspeak.com/channels/public.<format>
Input Arguments
| Name | Description |
|---|---|
| (Required) Format for the HTTP response, specified as
|
Example:
https://api.thingspeak.com/channels/public.json
Query String Parameters
There are no available parameters for this request.
Response
Success
200 OK
GET https://api.thingspeak.com/channels/public.json |
The response is a JSON object of public channels, for example: {
"pagination":
{
"current_page": 1,
"per_page": 15,
"total_entries": 653
},
"channels":
[
{
"id": 9,
"name": "my_house",
"description": "Netduino Plus connected to sensors around the house",
"latitude": "40.44",
"longitude": "-79.996",
"created_at": "2010-12-13T20:20:06-05:00",
"elevation": "",
"last_entry_id": 6062691,
"ranking" :100,
"username":"iothans",
"tags":
[
{
"id": 9,
"name": "temp"
},{
"id": 25,
"name": "light"
}
]
},
{
"id": 5683,
"name": "Residential Data Points",
"description": "Arduino Uno + Ethernet Shield",
"latitude": "35.664548",
"longitude": "-78.654972",
"created_at": "2013-05-15T12:33:57-04:00",
"elevation": "100",
"last_entry_id": 731713,
"ranking": 100,
"username": "samlro",
"tags":
[
{
"id": 950,
"name": "Analog Inputs"
}
]
}
]
} |
GET https://api.thingspeak.com/channels/public.xml |
The response is an XML object of public channels, for example: <?xml version="1.0" encoding="UTF-8"?>
<response>
<pagination>
<current-page type="WillPaginate::PageNumber">1</current-page>
<per-page type="integer">15</per-page>
<total-entries type="integer">654</total-entries>
</pagination>
<channels type="array">
<channel>
<id type="integer">9</id>
<name>my_house</name>
<description>
Netduino Plus connected to sensors around the house
</description>
<latitude type="decimal">40.44</latitude>
<longitude type="decimal">-79.996</longitude>
<created-at type="dateTime">2010-12-13T20:20:06-05:00</created-at>
<elevation/>
<last-entry-id type="integer">6062720</last-entry-id>
<ranking type="integer">100</ranking>
<username>iothans</username>
<tags type="array">
<tag>
<id type="integer">9</id>
<name>temp</name>
</tag>
<tag>
<id type="integer">25</id>
<name>light</name>
</tag>
</tags>
</channel>
<channel>
<id type="integer">5683</id>
<name>Residential Data Points</name>
<description>Arduino Uno + Ethernet Shield</description>
<latitude type="decimal">35.664548</latitude>
<longitude type="decimal">-78.654972</longitude>
<created-at type="dateTime">2013-05-15T12:33:57-04:00</created-at>
<elevation>100</elevation>
<last-entry-id type="integer">731720</last-entry-id>
<ranking type="integer">100</ranking>
<username>samlro</username>
<tags type="array">
<tag>
<id type="integer">950</id>
<name>Analog Inputs</name>
</tag>
</tags>
</channel>
</channels>
</response> |
Error
For the full list, see Error Codes.
Examples
https://api.thingspeak.com/channels/public.json
You can use your web browser to complete GET HTTP requests to the RESTful API for ThingSpeak™. To see the format for an HTTP response, click the link or copy it to your browser.
https://api.thingspeak.com/channels/public.xml
You can use your web browser to complete GET HTTP requests to the RESTful API for ThingSpeak. To see the format for an HTTP response, click the link or copy it to your browser.
See Also
Functions
Topics
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)