How do I use Python's httplib to send a POST to a URL, with a dictionary of parameters?
I just want a function that can take 2 parameters: the URL to POST to a dictionary of parameters How can this be done with httplib? thanks. ...
I just want a function that can take 2 parameters: the URL to POST to a dictionary of parameters How can this be done with httplib? thanks. ...
For web sites, like Blogger, delicious, Google Reader, each of which has its own way for user to categorize their record/entry/item by keyword/tag/label. I want to unify them all, so is there any service for that? @Edit: It's the service that should "inject" into these web applications (by calling an external API? ), so that I can selec...
I am trying to implement a simple request to Wikipedia's API using AJAX (XMLHttpRequest). If I type the url in the address bar of Firefox, I get a neat XML, no sweat there. Yet, calling the exact same url with: // this is my XMLHttpRequest object httpObjectMain.open("GET", "http://en.wikipedia.org/w/api.php?action=query&format=xml&...
Hi, I am writing an API and have come across the following pattern: My API will force the client user in what he/she writes. The code must test x number of sites on a portal by logging in/out with different credentials. I cannot rely on chance that another developer will write his/her own login code (and this is going to be common code...
I have what must surely be a fairly common documentation need... I'm implementing a rather sizable Java library code base that has, among other things, various classes intended to be exposed to a caller/implementor at the appropriate level of abstraction. At the same time, the code base contains, of course, various internal classes, in...
Im coding a simple c/gtk+ app connected to a mysql database. The gui and db code is done, now I need to make some reports based on database data, I thought the easier way to do this is by using an api that would let me output the data to a Excel or openoffice spreadsheet,PDF would be helpful too. The problem is dont find any. ...
Hi... I am new to Magento, and are using their API. What I want to ask, is it possible to create a downloadable product through the API? The documentation example is just for creating a new simple product, and if I use the API to view the product.info of a downloadable product, I don't see any attribute that link to a downloadable fil...
I mean API to assign roles (user,privileged user, etc) to specific users and user groups. As I got PUMA (Portal User Management) has only API to manipulate users and user groups, not roles. Thanks. ...
I am developing a key value store abstraction layer, much like JDBC or ActiveRecord, and I would like to provide varying levels of API, such that at its most basic it is: get Key set Key, Value exists Key delete Key However, I also want to provide another API which provides lower level details which can be used with CAP theorem datast...
I am building a multi-language API to query key value stores and I am debating (with myself) about whether to use fixed argument lists or dynamic argument lists using hash tables. In general I do realise that static type checking is not possible when using hashes, but as long as there are unit tests this is not a problem. But are there ...
I am building an API which I intend to upgrade over time. Is it ever reasonable to include a version number as an argument in the API? I'm writing a key/value store API in Ruby, Java, Erlang, and C#. I want to build something that is extensible as I know there are many things I have not thought of yet that may have to be incorporated in...
Could anyone supply me with very basic code examples for adding/reading items to/from an iPhone keychain? I want no other application than the one that added the item is allowed to access it. Apple's GenericKeychain example is kind of advanced so don't bring that up, please. ...
I've been using undisposable.net's API to find disposable email addresses but noticed that the site no longer appears to be functional. Anybody know what happened to them? Are there any other sites that provide an API to disposable email address domains or is there a list that can be downloaded to check against? EDIT: Clarification: I ...
I'm trying to call data from the Google Calendar API with help from this tutorial and it's returning getting a php error: Fatal error: Call to undefined function: simplexml_load_file() in \NAWINFS02\home\users\web\b872\rh.urbanpromise\new\loadcalendar.php on line 9 The server is running PHP Version 4.4.8 System: Windows NT IIS015...
Looking for the Yahoo equivalent of this http://ajax.googleapis.com/ajax/services/search/web?v=1.0&q=SomeQueryString ...
I'm building a web application that needs to send notifications by SMS. What SMS gateway service providers with API support fulfill the following requirements: Reliable Global delivery - I will send globally with no specific region being sent to more than others Ideally cheap What are your recommendations? Why? ...
Hi! I've read that mysql_store_result() in the MySQL C API will allocate memory for each and every call to it; mysql_store_result() reads the entire result of a query to the client, allocates a MYSQL_RES structure, and places the result into this structure. It is really so? I'm asking because I'm about to call it many times in a serv...
Creating a API here and I want people to be able to make simple mobile apps that could get the username/password of my users and of they go to interact with my server. So I need to have a Basic Auth(OAuth and other stuff are also going to be supported, mostly for a different use case). Right now I have a example from a Book saying i coul...
I have a vehicle tracking system and I have a flash map which can request a map from my map server or a map from google map api. I do not understand the limitation of map api. It says "If more than 15,000 geocode requests in a 24 hour period are received from a single IP address..." Does this is limited only with my server or the limit i...
Hello, Which services do you know with which you can obtain latitude and longitude given the IP? Thanks in advance! Manuel ...