Skip to content

Commit 7711215

Browse files
New authentication method, ,README file changes and better error messages
1 parent 9d9553e commit 7711215

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

README

+9-4
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,14 @@ PHP parse.com API library
22
===========================
33
More on the parse.com api here: https://www.parse.com/docs/rest
44

5-
Authentication Fixed
6-
-----------
7-
The authentication method was recently change, a fix has been made on this library.
5+
### Authentication Fixed ###
6+
The authentication method was recently change on parse's api, a fix has been made on this library.
7+
8+
### Breaking change in recent commit ###
9+
In order to be consistent with parse's terminology I've changed the variable from $masterkey to $restkey
10+
When creating a new instance, use 'restkey' in your array now instead of 'masterkey'
11+
12+
813

914

1015
**Please note**
@@ -20,7 +25,7 @@ CREATE OBJECT
2025
```
2126
$parse = new parseRestClient(array(
2227
'appid' => 'YOUR APPLICATION ID',
23-
'masterkey' => 'YOUR MASTER KEY ID'
28+
'restkey' => 'YOUR REST KEY ID'
2429
));
2530
```
2631

0 commit comments

Comments
 (0)