Skip to content

Instantly share code, notes, and snippets.

View AtsushiSakai's full-sized avatar
:octocat:

Atsushi Sakai AtsushiSakai

:octocat:
View GitHub Profile
@AtsushiSakai
AtsushiSakai / random_notion.py
Created March 5, 2022 07:58 — forked from jefftangx/random_notion.py
get random notion notes to resurface your old ideas!
'''
author:
@tangjeff0
https://www.notion.so/tangjeff0/Public-Home-0e2636bd409b454ea64079ad8213491f
inspired by: https://praxis.fortelabs.co/p-a-r-a-iii-building-an-idea-generator-400347ef3bb6/
with help from: https://medium.com/@jamiealexandre/introducing-notion-py-an-unofficial-python-api-wrapper-for-notion-so-603700f92369
credits:
@jamiealexandre
@AtsushiSakai
AtsushiSakai / bitlyapi.py
Last active December 3, 2022 06:08
Get shorten url via bitly v4 API with Python
#
# Get access_token from: https://app.bitly.com/settings/api/
# Then, just call this function with your long url and access token
#
# Ref
# - https://dev.bitly.com/api-reference/#createBitlink
# - https://dev.bitly.com/docs/getting-started/introduction/
import requests