Skip to content

Instantly share code, notes, and snippets.

@gidim
Created July 6, 2018 14:02
Show Gist options
  • Save gidim/c5fa642c7e04071d40cb8e79c7c1a728 to your computer and use it in GitHub Desktop.
Save gidim/c5fa642c7e04071d40cb8e79c7c1a728 to your computer and use it in GitHub Desktop.
import requests
access_token = "YOUR KEY HERE"
def get_projects():
url = "https://www.comet.ml/api/rest/v1/projects"
header = {"Authorization": access_token}
res = requests.get(url,headers=header)
print(res.text)
get_projects()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment