api

Magento - Add bundled products from PHP with Magento API

Is it possible to add bundled products with Magento API? If not, is there any other way to add a bundled product? ...

Detecting a response from an api

I am currently working with an API, currently the sequence of events is I send an XML request to the api provider and it responds with a response in the format of some XML also, I was hoping there would be a way for me to detect when this reponse is sent back so I can show the user a loading message while the response is sent. Ideally I ...

Facebook API - delete status

In PHP, I'm using curl to send a delete to the fb graph api - and yet I'm getting the following error; {"error":{"type":"GraphMethodException","message":"Unsupported delete request."}} The code I'm using is; $ch = curl_init("https://graph.facebook.com/" . $status_id . ""); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CU...

Shipping application required

Hi, Can anyone recommend a good FREE shipping application where I can get rates from different courier services, and perform tracking of packages. If there aren't any free ones, do the courier services themselves have API's or webservices of their own? We were thinking of creating an ASP.NET web application in C# that got quotes from ...

Authorizing facebook connect users with other third parties

I'm working on a site that has a large proportion of users signing in via Facebook Connect, so they don't have a username and password for our site. We offer our own user-authenticated API using basic auth, but this doesn't allow facebook connect users to authenticate with clients using our API. Is there any way that doesn't break Face...

Integrate Webservice into Java.

Edit: Sorry guys, realised I have no idea when it comes to integrating Webservices in Java. Was hoping someone could point me in the right direction. Original question: Hey everyone, I was wondering if you guys could point me in the right direction for this. I am required to find out how to inject data into an XML being created. I am u...

Video Analytics API

I am looking for an analytics solution that can give me loitering detection, line crossing, and people counting. I prefer an API over an entire software solution due to the specific requirements of the project. I have found two companies that provide video analytics, but neither seem to be in a hurry to give me pricing :P. Is there an...

Combining two UPDATE Commands - Performance ?

If I want to update two rows in a MySQL table, using the following two command: UPDATE table SET Col = Value1 WHERE ID = ID1 UPDATE table SET Col = Value2 WHERE ID = ID2` I usually combine them into one command, so that I do not to have to contact the MySQL server twice from my C client: UPDATE table SET Col = IF( ID = ID1 , Value1 ...

jQuery getJson returning null

I'm trying to use this api that lets you reference an exact text, but the getJson does not seem to be working, it's just returning null. $.getJSON('http://api.biblia.com/v1/bible/content/KJV.json?key=MYAPIKEY=John+3:16-18&style=bibleTextOnly', function(data) { alert(data); }); I just took the key out, i've been testing it with m...

Are there any portable Cloud APIs that allow you to easily change cloud hosts?

I am creating a web-based RESTful service and want to cloud-enable it for scalability. I don't want to get locked into one cloud provider though. I'd like to be able to switched between Go Grid or Amazon EC2, etc. as pricing and needs evolve. Is there a common API to control the launch, monitoring and shutdown of cloud resources? I'v...

USB based video capture card with API

I am looking for a usb based video capture card (to be used with cctv analog cameras) which comes with an api. An api of sorts would help as I am planning to do some analytics on the video stream. Any ideas on such a device? ...

Configuration file reading. Best practice

Application stores configuration data in custom section of configuration file. This information is used all over the application. Nowadays I use helper static class to to provide access like this (some code omitted or simplified): [XmlRoot("webSiteSection")] public class WebSiteConfig : IConfigurationSectionHandler { public stati...

Programmatically inviting contacts to Google Chat

Hello folks, I'm writing a sync application for Lotus Notes and Google (I know, there are some of them out there, but they are either not free or sync only calendar (or only contacts) and most of them cannot deal with local mailfiles). This works so far, but I have a problem when syncing contacts: under certain circustances, the contact...

gdata youtube api 302 'The document has moved'

I'm trying to get YouTube feeds with the python gdata library. Authentication features work ok, yt_service.ProgrammaticLogin() works, generating subauth token works, etc., but when I try to get some feeds (GetMostRecentVideoFeed, GetYouTubeVideoEntry, even GetFeed, and any other) I get: RequestError: {'status': 302, 'body': '<HTML><HEAD...

How do I use Google's Gson API to deserialize JSON properly?

Hi, In short, this is a sketch of the JSON object I want to parse in JAVA: { object1: { item1: //[String | Array | Object] , item2: // ... //<> more items object2: { /* .. */ } //<> more objects } These are the POJO s I created for parsing (I'll leave out the import statements for brevi...

Interesting open-source APIs (Java) for self-education?

Which is your top 3 open-source APIs (in Java) you recommend as an example of well-designed piece of art? That would be code that you had pleasure to browse through and got some insights from it. Any problem domain acceptable. Emphasis here is on educational/study quality of code, complexity level - intermediate to top. Thanks a lot fo...

Uploading multiple images through Tumblr API

I have about 300 images I want to upload to my new Tumblr account, becuase my old wordpress site got hacked and I no longer wish to use wordpress. I uploaded one image a day for 300 days, and I'd like to be able to take these images and upload them to my tumblr site using the api. The images are currently local, stored in /images/. T...

serializing data with google charts api

I have the following google chart code that im working with as an example: Type: Line Dimensions: 270x150 283,285,295,204,340,#41C0E4 64,120,130,170,175,180,#3962C2 1,2,5,12,28,34,#005E91 Bottom Label: test The following is the URL which generates the image below http://chart.apis.google.com/chart?chs=270x150&amp;cht=lc&amp;chtt=&amp...

Is there any handy api to check whether the current folder is hide in windows?

I need a very fast way to check a list of path, whether they are visiable or not. If the pathA's parent,parent's parent ... is hide, then I think this folder is not visible. Is there any handy API to do it in windows? Many Thank! ...

Can I modify the way Windows draws the Aero UI?

Windows 7 with Aero Glass basically looks quite nice I think. But it has some major drawbacks regarding readability: I cannot easily tell whether a window is currently active or not. I've been tweaking the colours and transparency levels a lot recently but the only safe indicator is the close button: it's red when the window is active, i...