Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Retreive data from website

Discussion in 'Scripting' started by tookydo, Jan 16, 2015.

  1. tookydo

    tookydo

    Joined:
    Jul 15, 2014
    Posts:
    75
    I am trying to make a login system in my game for accounts and stuff and I have an idea of how I want to do it. I can have them make an account on my website and then I get the username and password I add it to a google spreadsheet so they can login into the game. Is there a way that I can use the WWW class to retrieve data from the spreadsheet. I know the WWW class does something like that but I am not sure for retrieving data like.
     
  2. Polymorphik

    Polymorphik

    Joined:
    Jul 25, 2014
    Posts:
    599
  3. tookydo

    tookydo

    Joined:
    Jul 15, 2014
    Posts:
    75
  4. Polymorphik

    Polymorphik

    Joined:
    Jul 25, 2014
    Posts:
    599
    Is there an easier way? Umm..not sure never done this before but the Google API looks solid, its just a matter of sending over some queries with WWWForm. If the API says you can change the data then yes, again this is assuming you are using a Google Doc and you have the permission set to public.
     
  5. Polymorphik

    Polymorphik

    Joined:
    Jul 25, 2014
    Posts:
    599
    I am not a real fan of Google Docs I use iCloud so I am not too familiar although I have used it for some projects in the past.