From 8384adc01a51c0313dfd6938cba4d9e242aa5e0d Mon Sep 17 00:00:00 2001 From: beckerfy <fynn.becker@hs-hannover.de> Date: Fri, 8 Mar 2019 12:10:34 +0100 Subject: [PATCH] Improve README --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f5581b0..d4afc76 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,12 @@ A very basic POSTGREST client and utils from postgrestutils.client import pgrest_client payload = { - "select": "id,forename" + "select": "id,forename", + "forename": "eq.Jebediah" } -pgrest_client.get("kerbals", params=payload) + +# this will send a request to 'POSTGREST_UTILS_BASE_URI/kerbals?select=id,forename&forename=eq.Jebediah' +res = pgrest_client.get("kerbals", params=payload) ``` ##### Other projects @@ -34,7 +37,7 @@ res = pgrest_client.get("kerbals", params=payload) ``` ### Filtering -http://postgrest.org/en/v5.2/api.html# +http://postgrest.org/en/stable/api.html #### Django helpers -- GitLab