XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently 2017年 Aug 18日 08:12

All times are UTC - 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: API GET
PostPosted: 2016年 May 21日 08:38 
Offline

Joined: 2014年 Jan 2日 09:43
Posts: 5
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 448 times ]
Top
 Profile  
 
 Post subject: Re: API GET
PostPosted: 2016年 May 21日 09:23 
Online
User avatar

Joined: 2013年 Jul 29日 09:13
Posts: 536
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 55 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group