Is there a way to retrieve product information using ruby and google base api.
I have installed the googlebase gem: gem install googlebase?
I created a test script as mentioned in the example at: http://googlebase.rubyforge.org/
require 'rubygems'
require 'google/base'
Google::Base.establish_connection('username', 'password')
respon...
QUESTION
Which of the Youtube Data API auth methods will allow me to upload videos to a single channel without having to force my site's user to authenticate?
OAuth
AuthSub
Client Login
I've read http://code.google.com/apis/youtube/2.0/developers_guide_protocol.html#Authentication but am still unsure.
BACKGROUND
I'm building an ap...
Hello, I am using Google maps API. However, since I have very many icons, I am trying them to use with a mapping technology. Therefore I need to add an icon as a div instead of img. Is there a way to append icon to google maps as a ?
Thank you.
...
As informed by the example in the Bloomberg APIv3, i need to start a Bloomberg session to open a service, then i need to use the service to create a request.
My question is, if my program sent a request, got the answer, and then after a while it might need to send another request. In this situation, how do i determine whether the Sessi...
I work on a platform product which requires public compatibility between versions, so some code that was compiled against our previous build should be able to work against our new build without the need to recompile.
Is there a tool that would automated this verification, all I could find was How to test binary compatibility automatical...
Friends,
This Ask Tom thread which I found via another SO question, mentions Table and Transactional API's and I'm trying to understand the difference between them.
A Table API (TAPI) is where there is no access to the underlying tables and there are "getters" & "setters" to obtain information.
For example to select an address I ...
Hi,
I am working on a program, which handles a lot of objects and data. As I would be able to inject manipulations by having some kind of 'API' to my application. As the application itself does the management of the objects and such, I wonder how this can be implemented. For example, the Unity3D and Panda3D engines allow a variety of la...
While you can easily make a query result where vid=vocabularyId I'd like to know if there's a method in the api to do so so my code looks a bit less ugly. I'd like to know if theres something like vocabulary_get_nodes(vid) already implemented in Drupal's core.
...
Hi,
I need to pass from commons-httpclient-3.0.jar to commons-httpclient-3.1.jar
but changing the jar my code doesn't work any more.
The problem is that the new library encode automatically the passed uri.
Is there a way to avoid this?
I must interact with Yahoo API and I mustn't encode the URI otherwise I can't access to the se...
Is there a public API from some big company to get my public ip from within a program?
I've found http://ip-address.domaintools.com/myip.xml, which is exactly what I want, but unfortunately it blocks Python's urllib as well as many other http libraries, unless you spoof user-agent (anything doing that can't be called an API at all).
T...
I want to display the photos from my site and i want to get it from my facebook photos.
...
Hi all!
I need to receive news feed form my facebook page to my AIR application (without prompt login and password). I've been looking for solution but can found it. Maybe someone can help me?
...
I want to code some applications to use touch screen gestures. What is the latest technology available?
What functionalities to APIs provide? Is it just the casual select and click functionality or are advanced gestures are also exposed through the API? Is it possible to extend the APIs to code my own gestures.
I can't arrange a touch...
Tonight I started a small project trying to create a C# library to access the Google Storage API. When you create any kind of request to the Google Storage API, you have to include the "Date" header in the web request.
I tried to create a WebRequest in C#, and noticed that I couldn't set the "Date" header manually. According to this M...
Hi,
I am having problems with the festival C++ API (Windows XP).
After I make both festival and speech_tools succesfully (Cygwin), I have a file, called festival_example.cc, which contains:
#include <stdio.h>
#include <festival.h>
int main(int argc, char **argv)
{
EST_Wave wave;
int heap_size = 210000; // default scheme heap...
What windows api function does internet explorer use to display text in the browser window?
What functions does the WM_PAINT or WM_NPAINT event call in internet explorer to display any text?
For example if a google search returns some results, what windows api is being called to show the result in the browser window?
...
I want to find out whether a file or a directory is hide.
At first I made use of CFile::GetStatus(), however I found this api sometimes will return FALSE.
I don't know why, So I wrote the following code, However I found it is not stable. What is wrong with my code?
BOOL IsHide(const CString& strPath, BOOL& bIsHide)
{
if (strPat...
test.py
def add(a,b):
""" """
print a,b,a+b
return a+b
c program
#include <python.h>
int _tmain(int argc, _TCHAR* argv[])
{
try
{
PyObject *pName,*pModule,*pDict,*pFunc,*pArgs1,*pArgs2,*pOutput;
Py_Initialize();
if(!Py_IsInitialized())
return -1;
pModule=PyImport_ImportModule("test");
pDict=PyModule_GetDict(pModu...
Hi,
I have the following lua script :
module("modoo",package.seeall)
foo=1
bar={12,34}
Which works fine using the cli, such as :
> dofile "mod_modoo.lua"
> =modoo.foo
1
> =modoo
table: 0x86ce058
As far as I understood, it works like a table, but whenever I try loading it as a table, a nil value is pushed onto the stack. Every othe...
I have some old C# plugin code that was implemented strictly with Reflection. In fixing some C# 2.0 -> 4.0 compatibility issues ("Load from Remote Source") I've decided to get rid of the old reflection code and replace it with an interface. The interface is needed because the Plugins now need to be loaded into their own AppDomain and t...