Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: How to Retrieve Google Colab JSON Data from a Shared URL via API?
1 point by ekusiadadus on May 9, 2024 | hide | past | favorite
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:



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: