This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
import pandas as pd | |
import sys | |
if len(sys.argv) != 3: | |
print("bearer token needed as argument") | |
exit(1) | |
headers = {"Authorization": sys.argv[1] + " " + sys.argv[2]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
#if os(macOS) | |
import Cocoa | |
#endif | |
#if os(iOS) || os(tvOS) | |
extension URL { | |
public func canOpen() -> Bool { |