milesrichardson / ParsePy

A relatively up-to-date fork of ParsePy, the Python wrapper for the Parse.com API. Originally maintained by @dgrtwo
MIT License
515 stars 184 forks source link

Ability to access config options. #161

Closed cdriehuys closed 7 years ago

cdriehuys commented 7 years ago

Is there any way to access the config options on a parse application? On the online dashboard they are available in the Config tab in the sidebar. If this is not implemented, I would be happy to look into it. For reference, the docs for accessing these attributes through the REST API are here.

milesrichardson commented 7 years ago

@cdriehuys

Hi Chathan,

Sorry for the late reply, I've been traveling.

Currently GET requests for /config are implemented. I haven't tested it myself but it looks like it should work.

Here is the relevant file:

https://github.com/milesrichardson/ParsePy/blob/67a7042a19885dbe4d7f845257bfefa5fc9332ab/parse_rest/config.py

If you would like to implement POST requests as well (for setting config values), please feel free to submit a PR. The code should be pretty straight forward.

Miles

cdriehuys commented 7 years ago

Sorry for the late response, I've also been traveling. Thank you for the info. I believe GET requests are all I need at the moment, but if I ever need to update config values I'll be sure to submit a PR.