This script makes a GET request of the WorldCat Knowledge Base API and extracts the KB provider name to a csv file.
providers.py is the script
config_KB.yml is where you note your WSKey - see https://www.oclc.org/developer/home.en.html to obtain a key
AllProviders.csv is an example of what's output when the script is run
output_example.txt shows what the JSON looks like for one provider entry