1 year ago
Thurs May 9, 2024 6:34pm PST
Ask HN: How to Retrieve Google Colab JSON Data from a Shared URL via API?
I want to programmatically obtain the source code of a publicly shared Google Colab notebook through an API. For example, I'm looking to fetch the JSON data of the notebook shared at the following URL:

https://colab.research.google.com/drive/15Ow-hKK3Ky9uwEEljmfQpCYbn02ZLd-F?usp=sharing

When accessing the URL, I receive a temporary response like the one below, which includes details like userPermission and downloadUrl:

comments:
add comment
loading comments...