How to Get Client ID and Client Secret for API Requests
To get your client credentials and begin making API requests from your application, follow these steps:
1. Navigate to your Prokerala API Account dashboard.
2. In the 'Your Apps' section on the dashboard, click 'Create App' to create a new application. Alternatively, you can click 'App IDs' in the left-side panel and then click 'Create New App.'
3. Enter your application details and click "Save App."
4. Your application is now registered, and you will receive the Client ID and Client Secret. The Client ID is public information, while the Client Secret is confidential and should be treated like a password.
You can now use these Client Credentials to make authenticated API requests and access the API's features.
NB: If you are developing single-page JavaScript apps or native apps (for desktop or mobile), these apps are not considered confidential. Therefore, it is unsafe to directly embed your credentials into them, as others could easily access and misuse them. Instead, consider creating a web application that securely handles your credentials and makes requests to the API server on your behalf. Your less secure app should communicate with this web application rather than directly with the API server.