• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by LithuanianToad · Mar 25, 2017 at 08:52 AM · wwwjsonwebrequestwww class

How to constantly get new JSON information with GET request from a stream? Help!!

Hello :)

I have a task to learn how to use various API's and I managed to connect and send simple GET requests (I am using this API and this is one of the examples: http://www.meetup.com/meetup_api/docs/find/events/). But I cannot figure out how can I constantly get new information from this stream: http://stream.meetup.com/2/rsvps (more about this: http://www.meetup.com/meetup_api/docs/stream/2/rsvps/#polling) If I use UnityWebRequest.Get() or WWW www = new WWW(), it just loads forever (I think because GET never stops getting new information. These methods work perfectly with simple GET requests). I probably need to use something similar like events, to get some functions called whenever new JSON information is uploaded, but I cannot figure out how. Please help!

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

SSLHandshakeException during Web Request 0 Answers

WWW Object Timeout not working as expected. 0 Answers

Use the data received from WWW in UI 1 Answer

Retrieving json with WWW raises 415 Unsupported Media Type 1 Answer

www.text only shows the first char 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges