URL for API

Question:

Hi,

I am a new python. Can you help me with this please?

I setup http://github.com/rackspace/python-cloudservers tool and it’s ok for me. But this source is difficult.

I want to use simple url to send request to server API and get response.

Example: https://auth.api.rackspacecloud.com/v1.0/flavors

But I dont know how to set API KEY and user for this link

Can you help me please?

Thanks

Answers:

You can find your API key in the control panel under “Your Account” -> “API Access”.

Your first request to cloud files needs to be to authenticate with the Rackspace Cloud auth system. You will then be given a token that you will use for each subsequent request until the token expires. The language bindings (Python in your case) abstract this process and offer a simpler way to access Cloud Files.

You can find this entire process, and more, described in our developer docs. http://docs.rackspacecloud.com/files/api/cf-devguide-latest.pdf

Rackspace Secrets

Leave a Reply

Your email address will not be published. Required fields are marked *