XWidgetSoft Forum
https://bbs.xwidget.com/

API GET
https://bbs.xwidget.com/viewtopic.php?f=8&t=6325
Page 1 of 1

Author:  bisto [ May 21st, 2016, 8:38 am ]
Post subject:  API GET

How to get a response from the API website?


Link : http://api.vkontakte.ru/method/users.ge ... 200,status


Respons json :

{
"response": [{
"uid": UID,
"first_name": "text",
"last_name": "text",
"photo_200": "photo url",
"status": "text"
}]
}


How to make a widget that, when run, and press the button to update the data.
Photos loaded in the image


Attachments:
Снимок.JPG
Снимок.JPG [ 36.63 KiB | Viewed 1844 times ]

Author:  yereverluvinuncleber [ May 21st, 2016, 9:23 am ]
Post subject:  Re: API GET

I have a yahoo widget that does a json parse and you can have that code if you want. I was going to do the same in an Xwidget but found that remote file handling is a little primitive in Xwidget. In the end I created a yahoo widget instead.

The attached widget is a yahoo widget and you could try the code in an Xwidget but I doubt it will support it, you can but try.

The widget retrieved json data and parsed it successfully.

Attachments:
panzer WoT winrate gauge.zip [3.29 MiB]
Downloaded 202 times

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/