Not able to get data from website using thingHTTP app | ThingSpeak Apps | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Not able to get data from website using thingHTTP app
No permission to create posts
May 3, 2018
11:31 am
Avatar
chetan
New Member
Members
Forum Posts: 1
Member Since:
May 3, 2018
sp_UserOfflineSmall Offline

Hello, i am new in thingspeak.
I am working on a project in which wanted to get data from this website http://www.isstracker.com/ and the data I want is Longitude value from the website.
I copied Xpath of the value and paste it inside the Parse String .
After creating the api link , and opening link shows blank value as -000.000
Please help me with thisConfused

May 4, 2018
10:11 am
Avatar
cstapels
Moderator
Members


Moderators
Forum Posts: 867
Member Since:
March 7, 2017
sp_UserOfflineSmall Offline

The data you are trying to parse is updated by code that runs after the page is loaded. That's why you see it update in real time. When the page is first loaded, the value is -0.0. ThingSpeak can retrieve the page, but it does not run all the code for you as well. Here is a rest api you can use, and parse the JSON.
https://wheretheiss.at/w/developer

Make your thinghttp url
https://api.wheretheiss.at/v1/satellites/25544

and then see the parse JSON example at the end of the thingHTTP page in the doc: https://www.mathworks.com/help/thingspeak/thinghttp-app.html

Let us know if you get it working.

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
22 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

Team_mafia, icXu, emorphistechno, VTVMART, manimozhi, adamhebrew

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457