Skip to content

Commit e2212c3

Browse files
author
Ian Boynton
authored
Fix README formatting (#54)
* Fix formatting * Multiline
1 parent 9905a19 commit e2212c3

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,16 @@ For the complete list of available exception see `jwplatform/errors.py`_ file.
6464
List calls allow for (optional) querying and filtering. This can be done by passing the query parameters as a dict to the `query_params` keyword argument on list calls:
6565

6666
.. code-block:: python
67-
response = jwplatform_client.Media.list(site_id='SITE_ID', query_params={"page": 1, "page_length": 10, "sort": "title:asc", "q": "external_id: abcdefgh"})
67+
68+
response = jwplatform_client.Media.list(
69+
site_id="SITE_ID",
70+
query_params={
71+
"page": 1,
72+
"page_length": 10,
73+
"sort": "title:asc",
74+
"q": "external_id: abcdefgh",
75+
},
76+
)
6877
6978
All query parameters are optional. `page`, `page_length`, and `sort` parameters default to 1, 10, and "created:dsc", respectively. The `q` parameter allows for filtering on different
7079
attributes and may allow for AND/OR querying depending on the resource. For full documentation on the query syntax and endpoint specific details please refer to developer.jwplayer.com.

0 commit comments

Comments
 (0)