0

I am using the third party API for Parse called ParsePy.

https://github.com/dgrtwo/ParsePy

I am able to login, but I am trouble retrieving query for the current user. For instance, I want to retrieve the username for the current user or a specific column, but seems to experiencing issues.

I really do not know where to start, and quite frankly I am skeptical of using the API due to stability issues.

Any help or guidance would be greatly appreciated

from parse_rest.connection import register
from parse_rest.datatypes import Object
from parse_rest.user import User
from parse_rest.connection import SessionToken


application_id = ""
rest_api_key = ""

# the application_id for the app. Obtain
# Register takes three arguments, two required and one being optional
# Master is an optional argument. Since this is a desktop-based application, the master key should NOT be included
register(application_id, rest_api_key, master_key=None)


u = User.login('123', '123')

not sure what to do next

code_legend
  • 3,547
  • 15
  • 51
  • 95

0 Answers0