api

Is there an extensible SQL like query language that is safe for exposing via a public API?

I want to expose some spatial (and a few non-spatial) datasets via a public API. The backend store will either be PostgreSQL/PostGIS, sqlite/spatialite, or CouchDB/GeoCouch. My goal is to find a some, preferably standard, way to allow people to make complex spatial queries against the data. I would like it to be a simple GET based re...

Change legend text style

Hi there, I only wanted to know if it's possible to change the style of the font (font-size, color) of the legend text in the Google Chart API. Thanks for your answers! Greetings Sebastian ...

Java UML API/Library

Is there a Java API/Library that I can use to generate UML diagrams (Class, Sequence and Package)? I want to be able to embed the diagrams within my Java Application. ...

Easiest Java image processing solution

Here is the deal, in my Java project I have to make a composite document that combines both text and images; So I'm looking for a way to manipulate pictures (rotate, change size, that sort of thing). The API I'm looking for should be clear and easy to learn (preferably with some examples), it should cover the basic transformations I made...

Java API with which I can manipulate and modify HTML code and its tags?

Is there a 3rd party API for the sole purpose with which I can replace relative URLs in the source HTML and CSS into absolute URLs, keeping in mind the fact that the source contains a mix of relative and absolute URLs. For those thinking twice about this question, the String Object's replaceAll() method has some shortcomings. ...

Programatically adding "Birthday" to Google Contacts using Google contact API?

Hi, I am trying to add "Birthday" value to Google Contact using Google Contact API (C#). Can anyone help me out here. I am using Google Data API Setup(1.4.0.2). I got one solution as specified on this link But to implement accepted solution i need to upgrade to the latest version of the client library i.e API 3.0. But for .Net i am...

Programatically adding "New Custom Field" To Google Contacts using Google contact API

Hi, How to create new "Custom Field into Google Contact using Google Contact API (c#)? I used: ExtendedProperty obj_ExtendedProperty = new ExtendedProperty(); obj_ExtendedProperty.Name = "Department"; obj_ExtendedProperty.Value = "Sales"; ContactEntry.ExtendedProperties.Add(obj_ExtendedProperty); Thanx ...

Defining a variable in a class and using it in functions

I am trying to learn PHP classes so I can begin coding more OOP projects. To help me learn I am building a class that uses the Rapidshare API. Here's my class: <?php class RS { public $baseUrl = 'http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub='; function apiCall($params) { echo $baseUrl; } } ?> $params will...

How do I use SPMemember.ID property to get User or Group

I have to write a utility to enumerate and manage the owners of groups within a SharePoint site. I know I can use the Groups property of the SPWeb object to retrieve a collection of groups. And I know I can use the Owner property of the group to get back the owner. My problem is that I do not know what to do next. The SPGroup.Owner prop...

Netflix OData API iPhone: Accessing more than just the title

Netflix just recently announced that they have a new OData API which gives developers access to more of their catalog and is exactly what I've been looking for. Also, on odata.org they have a sample iphone objective-c sdk that accesses the netflix odata api and displays a few movie titles in a tableview with a navigationcontroller. http...

PHP wrapper that is API-compatible with PDFlib.

Are there any wrappers to any of the other PDF generating packages for PHP that provide API compatibility with PDFlib? Our company has been generating PDFs from PHP using PDFlib for many years, but have not upgraded since version 5. Now that we are upgrading some servers, we need either upgrade or find a replacement. I'd like to replace...

Please suggest API for xps documents, specifically how to read and modify the xps document using Java?

Suggest API for xps document. Please provide source code to read and modify the xps document in Java. ...

Time zone for Force.com API fiscal date literals?

I have a question about fiscal date literals in the Force.com API (http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_soql_select_dateformats.htm): For which time zone are date ranges calculated? For example, suppose we execute the query: SELECT Id FROM Opportunity WHERE CloseDate = THIS_FISCAL_QUARTER where, ac...

how to handle click event in win32 API?

I have created a simple win 32 application..in which it has a textbox and a button in a dialog window..first when I created this..it didnt display the dialog window and then what I did is added the code below to handle the close(WM_CLOSE) of the dialog window...but I want to know, how to handle the button click event.. void ValidatePa...

.Net SDK or samples for OpenSRS API?

Hi, OpenSRS from Tucows has a reseller API (or rather several APIs) to allow you to register domains, manage DNS settings etc. They have API Toolkits for PHP and Ruby, but does anyone know of a .Net SDK, or have any sample code that they can share, as a basic starting point for the API? Many thanks, Tim ...

Select image iphone simulator using phonegap camera api

I'm new to Xcode and iPhone apps. I want to select an image from iPhone (camera or library) and send to php via ajax. http://wiki.phonegap.com/iPhone:-Camera-API I'm using the phonegap framework, Xcode iPhone SDK version 3.1.x. On clicking button it calls function with parameter 0 or 1, but it does not initialize camera or display the ...

How to see if a user is following you on Twitter using C# Twitter API wrapper Tweetsharp

I see there is a API call for Frienships/Show, but I am not sure how to parse the response to get the true/false. Here is my code so far: var twitter = FluentTwitter.CreateRequest() .AuthenticateAs(_userName, _password) .Friendships().Verify(_userNameToCheck) .AsJson(); ...

Any website with an api that serves mp3 songs(or just portions) for free?

As a homework i need to make a webapp that will play an mp3 file and the user has to guess the name of the song or the band in a certain time. My question is where can i get this songs? Is there any website that offers mp3's and an api from which i can get songs along with the band and the name? It doesn't have to be the whole song, in f...

Map API with Building Elevation Data

Hi! I'm looking for a map API where I can get detailed elevation for points. I'm not looking elevation differences for certain paths along roads on the map but actual building heights. Getting the the 3d meshes for buildings would also be fine since I can compute the height myself using that information. Does any of the map API's out t...

what about google map api v2 and v3, which is better ..

i make a demo using v2 , and now i want to using v3.. but i found v3 has not many method that v2 has, ex: 1.map.enableGoogleBar(); 2.map.enableScrollWheelZoom(); 3.polyline.enableDrawing() is v3 powerful enough ??? thanks ...