I am trying to do a request to get a consumer key. I already have my API key and API secret.
Here is a link to the company’s documentation on their API. This is the page to request the consumer key.
Here is their script to do the request for the consumer key. It is not in PHP and I need it to be in PHP. If I have to I may need to use their JSON example but using PHP encoding I think.
I have started on the PHP script to do the request for the consumer key. I am not sure about how I code the request for the consumer key. Do I do this with JSON or with the post fields. Here is my script.
I understand the lightweight wrapper I get off github. My issue is that I need to get the consumer key. I went to their page to get the key and it had some error. They have a script that looks like shell for Linux with JSON to get the consumer key. I do not have shell access with GoDaddy. I just need to be able to run the shell and json script to get the consumer key using php. I am not familiar with JSON. I don’t do PHP all the time. I just need a little assistance getting my PHP CURL script ready to get the consumer key then I can move on to the API with the github wrapper. Can you help with my curl script to get the consumer key?
If not, I wonder whether you need to make this request from your web server or if you could just run the cURL command from OVH’s docs on your local machine, and not bother with PHP?