Sample text: String -> content within the rev tag (via lxml).
I'm trying to remove the {{BLOCKS}} within the text.
I've used the following regex to remove simple, one line blocks:
p = re.compile('\{\{*.*\}\}')
nonBracketedString = p.sub('', bracketedString)
However this does not remove the first multi line bracketed section at the b...
Hello there, folks.
I would like to read your recommendations about the best APIs (free or of manageable costs, mind you) for mobile phones programming. What are the best APIs that can work on a large number of phone platforms (write once run everywhere, anyone?), and what about their security features?
The project in consideration is...
How to convert a flat .txt file to .mht?
What APIs are available to help with the conversion?
...
So I've been looking into the different mapping API's out there, and I've narrowed it down to Google Maps API and MapQuest's API. I'm leaning towards the MapQuest API for:
Unlimited queries
Support for draggable routes. Google's API allows multiple way points, which is not the same thing.
The draggable routes is a pretty important ...
I want to use imgur's API to upload images however I don't want to use my server too much in the act because I'd like to keep bandwidth to a minimum.
The API accepts images in a base64 encoded string or binary.
Also if there's a way to encode images into base64 or binary in javascript that would be really useful to know too
...
For example...I would like to make a "client". First, people post to my client, and then to Facebook.
(I want to make a client so that I can store posts)
...
I'm trying to extend Python interpreter by a few C functions I wrote. From reading docs, to expose those function the user has to import the module encompassing the functions.
Is it possible to load pre-load or pre-import via C API the module so that the user doesn't have to type import <mymodule>? Or even better, from <mymodule> import...
I'm looking for some sort of public API I can use to look up information on books based on title, author, ISBN, etc. I want the users of my application to be able to look these things up in the application.
Do you know of such any such API?
Update: Some other application requirements that I just thought of...I need the ability to pull ...
Hello, I'm new with this API thing, so I don't know how to use it very well. I want to make an application on C or PHP or AppleScript to check if a file is downloadable. I just need to know how to send the request properly.
I read the API docs but I still don't know how to get the return values.
Can anyone help me?
Happy holidays ever...
I'm building a sinatra Ruby app that interacts with Jambool Social Gold API (a virtual currency platform).
After a transaction is complete (the user purchases points) Jambool sends a "postback" to "foo.com/postback?signature=foo".
The API documentation says that it expects an OK response in the body of the postback (after I validate th...
A user logs into a Facebook session in my iPhone app, and then I call a PHP page on my server that needs to use that session to access the user's Facebook account. Is it possible to start the session in the PHP page and be authenticated automatically? Perhaps by passing in the session key and secret from the iPhone app?
...
How can i get All my followers with one request?
If i do $this->twitter->getFollowers();
I just get 100 of my followers;
An here is the code for getting followers
/**
* Returns the authenticating user's followers.
*
* @return array
* @param string[optional] $id The id or screen name of the user for whom to request...
I'm planning an API for my own use, in Python. Perhaps someday I will make it freely accessible, but now I'm only planning to use it on my hobby site. At this stage I need some advice on how to set up the URLs, for files that receive both GET and POST requests.
Suppose one of my files is called function_A.py and used in this fashion:
w...
I recently found a movie organizer application which fetches its data from the IMDB database?
Does IMDB provide an API for this, or any third party APIs available?
...
I'm using a BSD API to build my own API and I'm wondering if there is any restriction when I will release my own API in term of license choice, packaging, distribution ...
I'm also curious about what do you guys think is the better way to pay homage to the API that we use : documentation citation, code source citation ...
To summarise...
Are there any accepted standards or best practices for documenting a set of JSON API's? Done a fair bit of searching around and there seems to be a bit of a mish-mash of style / formats.
Maybe making too big a deal over this ... at some level docs is docs, but figured I'd ask.
...
Source Mediawiki markup
Right now I'm using a variety of regexes to "parse" the data in the mediawiki mark-up into lists/dictionaries, so that elements within the article can be used.
This is hardly the best method, as the number of cases that have to be made are large.
How would one parse an article's mediawiki markup into a variety...
Hi,
I am looking for an open source image processing libraries or APIs those provide me to create a program which captures the license plate of a car in a parking system and gives me the number plate as a text . It would be great if I can have it in managed code (c# or java).
Any help would be greatly appreciated.
Thanks in advance
...
I'm trying to create an auto-complete text field with a list of known Universities and Colleges. Do you know where I can get this sort of list? Or is there a public API that contains this data?
...
After extensive research and fun learning about Google's mapping api, I am building a digital antenna map application. At this point, the next step in the project plan is to build a memory-map replication of the google map that is locating digital tv stations based upon input from the user's address. So, I am using this math code to form...