Skip to content

Commit 6218beb

Browse files
Update getDatabase() output example
1 parent a755294 commit 6218beb

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ print(client.count_entity(query_data))
8484
* `uses_test_endpoint (bool)` - If false the client will send requests to production end-point, otherwise to tests end-point.
8585

8686
### `get_database()`
87-
Get information about current database(related to api keys informed on construction). This method corresponds to a `GET` request at `/database`.
88-
**IMPORTANT:** You can't make this request on `/test` end-point.
87+
Get information about current database(related to api keys informed on construction). This method corresponds to a `GET` request at `/database`.
8988

9089
#### Request example
9190

@@ -99,10 +98,13 @@ print(client.get_database())
9998

10099
```json
101100
{
102-
"name": "Database 1",
103-
"description": "My first database",
104-
"data-expiration": 30,
105-
"created-at": "2016-04-05T10:20:30Z"
101+
"tables": [
102+
"users"
103+
],
104+
"updated-at": "2017-05-19T14:27:47.417415",
105+
"created-at": "2017-05-12T02:23:34.231418",
106+
"name": "Database 1",
107+
"description": "My first database"
106108
}
107109
```
108110

0 commit comments

Comments
 (0)