Using any API endpoint explained splash can be accessed via Python

import requests
response = requests.get("<SPLASH_URL>", auth=('<SPLASH_USERNAME>','<SPLASH_PASSWORD>'))

Where are my credentials?

You can find the SPLASH_URL, SPLASH_USERNAME, SPLASH_PASSWORD in your organization's Splash instances page, as shown below:

If you haven't signed up for Splash yet, have a look at this article on how to do it.