api

Create new table with Wordpress API

I'm trying to create a new plugin to track popular posts based on views and I have everything done and ready to go, but I can't seem to create a new table using the Wordpress API (I can do it with standard PHP or with phpMyAdmin, but I want this plugin to be self-sufficient). I've tried several ways ($wpdb->query, $wpdb->get_results, d...

WM6.5 - C# - Check if Start Menu is Visible

Hi guys, I'm developing an Windows Mobile 6.5 start menu replacement called JWMD Stuick. Currently, I'm able to detect if the Start Menu is created or destroyed by checking GetWindowLong() API.. Though this does not guarantee if Start Menu is visible or not because other cooked ROM was even if the Start Menu is closed or an app was ex...

Google search ajax api is to restrictive. Any alternatives?

The google search ajax api is terrific, and the .net wrapper available on codeplex makes using it from a .net project very simple. However, the api itself is crippled so that it only returns 64 results per query. Not very useful for many applications. Ignoring the likely TOS problems, are there known .net libraries that can query the r...

How to convert postal code to city name, is there an API available?

How to convert post code to city name, is there an API available? ...

Is there an API convert long/lat to city,country rather than Google API

Hi All, Is there an API convert long/lat to city,country rather than Google API? I found that geonames does not give the city. Thanks, Ling ...

Google Maps API - How can I enable 'Points of Interest' ?

I've seen some sites, that use Google Maps, have the ability to show 'Points of Interest' on the map. Similar to what Google Earth does. Here's an example of what I'm talking about: http://i.imgur.com/5OCor.jpg How can I do this? :/ ...

How do I delete a signature from an Excel document using Office automation

Hello, I have a signed Excel workbook and I want to delete the signature from it. The problem is that when I try to delete the signature there's a prompt for confirming the deletion and I want the process to be fully automatic. Here's a code sample, the prompt appears when the last line executes: Dim source As String = "c:\temp\signed.x...

Open Graph API - Github PHP Class

Hi all, I have downloaded the PHP class from github which is the wrapper for their Open Graph API. I can log in and list freinds and images etc. But what I am really struggling with is allowing for extended permissions to allow posting to a users wall. I know somewhere I need to add "scope=publish_stream" to allow this option and can o...

Does Nagios have an API that can control targets?

In Zabbix, there is a well documented (although in Draft status) API for instantiating targets and controlling them. Does such an API exist in Nagios? The need for this is a cloud-based implementation. I would like to be able to scale monitoring targets dynamically so that on Monday it would be monitoring 10 targets and Tuesday it w...

Get Video Links from Youtube Channel, extract video IDs from Urls and store them in an array

Hi there, This is my first question on this site. I'm new to php but i've followed advice and gotten my hands as filthy with it as possible. Unfortunately now I'm a little stumped with this simple Youtube app i'm trying to create. I know there are a several related questions out there, but i haven't yet found a comprehensive soluti...

Problem with Google Calendar API "getTimes()" method

I'm trying to get several informations from google calendar's API in JAVA. While trying to access to informations about the time of an event I got a problem. I do the following: CalendarService myService = new CalendarService("project_name"); myService.setUserCredentials("user", "pwd"); URL feedUrl = new URL("http://www.google.com/calen...

Sending a file to an API - C#

I'm trying to use an API which sends a fax. I have a PHP example below: (I will be using C# however) <?php //This is example code to send a FAX from the command line using the Simwood API //It is illustrative only and should not be used without the addition of error checking etc. $ch = curl_init("http://url-to-api-endpoint"); $fax_var...

Does iPhone SDK have a trip duration API?

Does iPhone have a trip duration API or is the only option to use google's getDuration()? Thanks. ...

Android Google Directions

Some Questions about Android and Google Directions Service: Is there a native way on Android to use the Directions Service from Google or are there any nice Wrapper Frameworks? I would like to retrieve the time needed to get from A to B and maybe show the route in a table and/or map. As far as I know directions can only be retrieved f...

Which Hadoop API version should I use?

In the latest Hadoop Studio the 0.18 API of Hadoop is called "Stable" and the 0.20 API of Hadoop is called "Unstable". The distribution that comes from Yahoo is a 0.20 (with yahoo patches), which is apparently "the way to go". From cloudera they state the 0.20 (with cloudera patches) is also stable. Now given the fact that we'll start ...

Crawling within a pdf

Hi, I'm developing a tool that searches the keyword entered by the user on a given site. My problem is, it searches the keyword only on html/web pages but not on the PDF/MS-Word files found on the site. Can anyone suggest me some api/tool or provide the code that can search text from the given online PDF/MS-Word/Text file? ...

Does Geoname web service has a limitation on requests?

Hi all, Can anyone tell me if the Geoname web service, which provides the address and lat/long information, has a limitation on requests? e.g. 2,500 hits per day. Cause I found that Google Maps API allows 2,500 hits per day. Thanks very much. Yours, Ling ...

post content to facebook wall

I just need a php based script for my website where in i have a textbox and a button and whatever i write into it gets posted into my facebooks wall .. Also prior to this i will be logged into facebook ...

Facebook Page Statuses API

I've got a curl function in php which posts a status update to our facebook page. However, when I post the update it makes the status appear from me personally rather than me the group. Does anyone know how you can post as administrator of the group. The script is as follows; $xPost['access_token'] = "[key]" $xPost['message'] = "Po...

where can i find some examples for fluent api in ruby?

we have understood the concept of fluent api but now we want to look over some existing fluent api for better understanding. where can i find such examples. have searched alot but could not find it. ...