{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "from ghapi.core import GhApi\n", "api = GhApi()" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "repos = api.activity.list_repos_starred_by_user('jph00')" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "(#15) ['hysrx/sixel.py','hypotext/notation','JuliaLang/julia','ilevkivskyi/typing_inspect','WaterKnight1998/SemTorch','chrisjbillington/setuptools-conda','tlack/b-decoded','SafeGraphInc/awesome-safegraph-datascience','fastai/fastscript','jph00/latex-ppt'...]" ] }, "execution_count": null, "metadata": {}, "output_type": "execute_result" } ], "source": [ "repos.itemgot('full_name')" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "15" ] }, "execution_count": null, "metadata": {}, "output_type": "execute_result" } ], "source": [ "len(_)" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" } }, "nbformat": 4, "nbformat_minor": 4 }