Skip to content

Instantly share code, notes, and snippets.

@ixtk
ixtk / links.txt
Created June 15, 2021 12:31
Links and titles for some Social Empires images
@ixtk
ixtk / app.py
Created June 14, 2021 06:55
Python code example of OSU! API v2 usage
import requests
from pprint import pprint
from os import getenv
API_URL = 'https://osu.ppy.sh/api/v2'
TOKEN_URL = 'https://osu.ppy.sh/oauth/token'
def get_token():
data = {
'client_id': getenv('CLIENT_ID'),