| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -187,7 +187,7 @@ parameter to get all the items when using listing methods: | |||
| 187 | 187 | .. code-block:: python | |
| 188 | 188 | ||
| 189 | 189 | all_groups = gl.groups.list(all=True) | |
| 190 | - all_owned_projects = gl.projects.owned(all=True) | ||
| 190 | + all_owned_projects = gl.projects.list(owned=True, all=True) | ||
| 191 | 191 | ||
| 192 | 192 | You can define the ``per_page`` value globally to avoid passing it to every | |
| 193 | 193 | ``list()`` method call: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -45,10 +45,10 @@ Results can also be sorted using the following parameters: | |||
| 45 | 45 | projects = gl.projects.list(visibility='public') | |
| 46 | 46 | ||
| 47 | 47 | # List owned projects | |
| 48 | - projects = gl.projects.owned() | ||
| 48 | + projects = gl.projects.list(owned=True) | ||
| 49 | 49 | ||
| 50 | 50 | # List starred projects | |
| 51 | - projects = gl.projects.starred() | ||
| 51 | + projects = gl.projects.list(starred=True) | ||
| 52 | 52 | ||
| 53 | 53 | # Search projects | |
| 54 | 54 | projects = gl.projects.list(search='keyword') | |
| Back | FazBrowse Home | New Git URL |
0 commit comments