allardbrain / clubhouse-client

Python client for Clubhouse
Apache License 2.0
5 stars 2 forks source link

Create _list_items_with_data() method #19

Open allardbrain opened 4 years ago

allardbrain commented 4 years ago

Some of the list_xyz() endpoints may also allow optional body parameters to be passed as data, in addition to specifying the ID when calling the list_xyz()method. Make a list of these endpoints. Then, duplicate the _list_items() internal method and adjust the duplicate so it accepts data as a parameter (similarly to how the _update_items() internal method does.