Skip to content

Instantly share code, notes, and snippets.

View jubilancy's full-sized avatar
💘

eliana jubilancy

💘
View GitHub Profile
@jubilancy
jubilancy / fetch_ghstars.md
Created April 8, 2026 19:46 — forked from dannguyen/fetch_ghstars.md
fetch_ghstars.py: quick CLI script to fetch from Github API all of a user's starred repos and save it as raw JSON and wrangled CSV

fetch_ghstars.py: quick CLI script to fetch and collate from Github API all of a user's starred repos

  • Requires Python 3.6+
  • Creates a subdir 'ghstars-USERNAME' at the current working directory
  • the raw JSON of each page request is saved as: 01.json, 02.json 0n.json
  • A flattened, filtered CSV is also created: wrangled.csv

Example usage:

<div id="w555f50efd0c36cd317280773714f55ef"></div><script type="text/javascript" charset="UTF-8" src="https://www.librarything.com/widget_get.php?userid=tezeta&theID=w555f50efd0c36cd317280773714f55ef"></script><noscript><a href="https://www.librarything.com/profile/tezeta">My Library</a> at <a href="https://www.librarything.com">LibraryThing</a></noscript>
https://www.librarything.com/widget.php?shareID=w555f50efd0c36cd317280773714f55ef&sharefrom=tezeta
<div id="w3d171ffa5e20d88597a39ae343674840"></div><script type="text/javascript" charset="UTF-8" src="https://www.librarything.com/widget_get.php?userid=tezeta&theID=w3d171ffa5e20d88597a39ae343674840"></script><noscript><a href="https://www.librarything.com/profile/tezeta">My Library</a> at <a href="https://www.librarything.com">LibraryThing</a></noscript>
https://www.librarything.com/widget.php?shareID=w3d171ffa5e20d88597a39ae343674840&sharefrom=tezeta
<script type="text/javascript" src="https://www.librarything.com/ltsw/mySearchWidget.php?option_userid=t
beep