I tested the code from https://developer.cisco.com/meraki/api/#!get-organization-api-requests but received a SSL certificate error.
import meraki
# Defining your API key as a variable in source code is not recommended
API_KEY = '[REMOVED]'
# Instead, use an environment variable as shown under the Usage section
# @ https://github.com/meraki/dashboard-api-python/
dashboard = meraki.DashboardAPI(API_KEY)
organization_id = '[REMOVED]'
response = dashboard.api_usage.getOrganizationApiRequests(
organization_id, total_pages='all'
)
print(response)
Then I search around Internet and found this https://community.meraki.com/t5/Developers-APIs/Dashboard-API-via-Python-unable-to-get-local-issuer-certificate/td-p/72843 but how do I get the certificate? And why the file path is using double \\?
... View more