Re: [Tutor] Need help on Python API programmig

2013-11-16 Thread Amit Saha
Hi Sourav,

Please use Reply all when you reply an email so that everyone else
also gets your messages and your chances of getting better help
increases.


On Sat, Nov 16, 2013 at 3:35 PM, Sourav Biswas sob...@gmail.com wrote:
 Hi Amit,

 Yes I know, the question is not quite good. Currently I am trying to learn
 web API programming with Python. The ultimate goal is work with OpenStack
 API.

 Can you please let me know, how to start on this.

 Thanks for the reply and thanks in advance.


Sorry, I certainly didn't mean that your question was not good. Now
that you have mentioned what specifically you are looking to learn, it
becomes slightly easier to make some suggestions. I don't have any
personal experience with OpenStack API. However, looking at [1], it
seems like you will be mostly dealing with making HTTP requests and
reading responses. There are couple of standard library modules such
as urlllib2 and httplib that may be useful to you. However, in this
case, you would certainly benefit from directly learning to use
Requests [2]. Note that however, you will need to be familiar with
Python data structures such as dictionaries and know how to work with
JSON data ( please see the 'json' standard module).

[1] http://docs.openstack.org/api/quick-start/content/
[2]http://www.python-requests.org/en/latest/

I am hoping those prove helpful.

All the best,
Amit.

-- 
http://echorand.me
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


[Tutor] Need help on Python API programmig

2013-11-15 Thread Sourav Biswas
Hi All,

This is my first post. I want to learn API programming with Python. I have
basic knowledge of Python Programming. Could you please let me know the
starting points for this programming.

-- 
Thanks,
Sourav Biswas
Hyderabad
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Need help on Python API programmig

2013-11-15 Thread Amit Saha
Hello Sourav,

On 16/11/2013 6:53 AM, Sourav Biswas sob...@gmail.com wrote:

 Hi All,

 This is my first post. I want to learn API programming with Python. I
have basic knowledge of Python Programming. Could you please let me know
the starting points for this programming.

Since your question is fairly vague, could you please describe what you are
trying to learn? An API is an interface. It can be an operating system
interface, a vehicle web API or simply a web API.

Some more details will be a lot of help.

Best, Amit.

 --
 Thanks,
 Sourav Biswas
 Hyderabad

 ___
 Tutor maillist  -  Tutor@python.org
 To unsubscribe or change subscription options:
 https://mail.python.org/mailman/listinfo/tutor

___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor