Skip to content

Instantly share code, notes, and snippets.

# Setup
import requests
api_key = 'apyvBhYVkl4li2QEajBhV6MwgNv1UT1w7M6W5jpX'
username = 'api-a68a23fdc61b4b9ab39ccd3633bf5e6b'
password = '(Your API Password)'
header = {
'x-api-key': api_key
}
base_url = 'https://api.perch.rocks/v1'
auth_url = base_url + '/auth/access_token'