api

Piwik plugins

I'm building a plugin, and I want to have a Subtable, so that my users can click on the overview data, and display the data from there. Following the code that I've been able to glean: public function getCompanyList($idSite, $period, $date ) { $dataTable = new Piwik_DataTable(); $query = Piwik_Query("SELECT cl.id, cl.company_name na...

Programmatically get Google results onto web page

To save time Googling my website in order to see where my pages have changed I've decided to create a web page that monitors the position of my page under certain key-phrases (namely, my name). For example, if I were to type in my name and my web page were at the top I'd want the page to show the Google results given and my position unde...

Facebook API without client authentication for public content

I'm developing a site for a client who already have the photos of his products on Facebook, and he wants the same albums to be replicated over his site. I was already using Facebook Connect, so I dropped a combination of photos.getAlbums and photos.get to dynamically make the galleries. So far so good, but then I realized that if there'...

Xml Comments Localization

Hello there, I'm going to use XML comments to document an extensibility API of an application, but I didn't find any reference to use multiple languages or any way to localize these files. I would like to use sandcastle or any other tool (ABD...?), but I don't know where to put the translated XML comments, I don't know if I should use t...

Is this the best way to make an API request using PHP CURL?

Hello all, I have a site that has a simple API which can be used via http. I wish to make use of the API and submit data about 1000-1500 times at one time. Here is their API: http://api.jum.name/ I have constructed the URL to make a submission but now I am wondering what is the best way to make these 1000-1500 API GET requests? Here is...

Get bounds of a google map v3 after zoom change

I am trying to get the bounds of a map after the zoom has change the zoom_changed event fires after the zoom has changed but before the bounds have been recalculated so is you get_bounds() in the function that first you get the previous bounds not the new bounds is there any way to fire the event after the bounds have been recalculated?...

How to gracefully handle a downed API

With twitter being down today I was thinking about how to best handle calls to an API when it is down. If I am using CURL to call their api how do I cause the script to fail quickly and handle the errors so as not to slow down the application? ...

Translating Vista WinAPI C++ header for Delphi - any suggestions?

Hi, I'm needing to call a Windows API function introduced in Vista from my Delphi app, but I don't have any Delphi headers which describe the function. Related functions are already documented in the JEDI Windows API library, but not this function. My C++ is almost non-existent, and I'm struggling to work out the Delphi definitions th...

Any complete best book for learning A-Z of symbian and its API?

Is there any best books for learning Symbian and its complete API? Also, That book should have practice oriented approach for learning and it should also had the other variants such as UIQ, S60+? If you knew, any book satisfying the above, post it here? ...

Source code beautifier for c++ (vc++)?

I have a set of 250 header files and cpp files of my project. I wanted to format the old code and generate API documentation. Is there any tool that can help me do this? I am thinking of using DOxygen, but I believe that needs the information in a some format. ...

Filtering by country using Google Analytics Data API

I'm trying to use the Google Analytics Data API to get data filtered by country. I am using the .NET library at http://google-gdata.googlecode.com/svn/trunk/ which works beautifully as long as I don't try to filter by country. This works fine: const string dataFeedUrl = "https://www.google.com/analytics/feeds/data"; var query = new D...

Looking for an open-source Java Help API

I'm working on an application written in Java. I want to allow the user to read the "Help" of the application. I'm basically looking for a Java free open-source equivalent for Microsoft chm. I'd like it to have support for "Find" and tree-like structures. I am willing to write one component myself but I was wondering if existent altern...

How does Indeed.com gather results from multiple job sites.

Do they use partnership and APIs, scrape the data or use public apis from all the job sites. Specially interested in how they obtain data from other job sites like monster.com and hotjobs. Implementing a program to do similar stuff, all ideas welcome/ ...

Obtaining financial data from Google Finance which is outside the scope of the API

Google's finance API is incomplete -- many of the figures on a page such as: http://www.google.com/finance?fstype=ii&q=NYSE:GE are not available via the API. I need this data to rank companies on Canadian stock exchanges according to the formula of Greenblatt, available via google search for "greenblatt index scans". My questio...

Reshaping the "glass" in Windows Vista

In Windows Vista, all standard window borders are translucent with some sort of a glass distortion effect on whatever is under them. This glass effect can permeate other areas of the window--such as surrounding the address and search bars in Windows Explorer or the playback controls in Windows Media Player. What if I want to do this in m...

What was the worst 3rd party API you had to work with?

I have recently been working with a 3rd party API that I had to make so many custom quirky algorithms just to return the basic information that it has basically driven me nuts... What is your worst experience with a 3rd Party API? ...

Google Maps GDirections - Route directions between two points on a map

Does this look like it should work? I'm wanting to generate directions from one latitude/longitude to another latitude/longitude. var dirMap = new GMap2($("#dirMap").get(0)); var wp = new Array(2); wp[0] = new GLatLng(35.742149,139.337218); wp[1] = new GLatLng(35.735347,139.328485); var marker = new GMarker(wp[1]); dirMap.addOverlay(ma...

Zune API ZuneCore.dll

Hi, I noticed the other day that the Zune PC Software exposes a type library (ZuneCore.dll). It seems to be related to the WMPLib API in some way but I can't figure out how to use it either from VB6 or C#. Has anybody tried this and had any luck? Dave ...

Are other companies/products/websites providing access via Google Data APIs?

Google uses the XML/RSS/Atom-based Google Data APIs to provide programmatic access to its various services. Because it is Google doing this, these API are becoming quite popular, as in: there are many client applications supporting it. Google even provides a lot of client libraries themselves. It should be possible to use the APIs for ...

Facebook status update through php

Hi, I want to develop a bot which will update the status of a facebook account using php. Please guide me on this ...