api

SugarCRM 5.5.2 Rest api -- login failure

I need to be able to use the API for SugarCRM to exchange information with several other applications. I found the api docs, and some good articles with sample code. The end result of my code is to send this command: http://localhost/sugarcrm/service/v2/rest.php?method=login&input_type=json&response_type=json&rest_data={%2...

POST request reaches server but empty

I'm setting up an API for a simple webservice and stumbled upon a problem. I use Ruby on Rails for the back end and a JQuery ajax call to send a POST to create an instance of a model. The JavaScript code is: $.ajax({ type: "POST", url: "http://localhost:3000/api/v1/person/add", data: "name=John&location=Boston", success: funct...

Is it possible to create a SOAP API using C# and JavaScript

I am looking to create a SOAP API using C# which I can then call using JavaScript. I use C# regularly but do not have any experience with creating API's. I would like to call the API using JavaScript as this will be used to submit form data from multiple websites not maintained by us. If there is a better solution than SOAP I am open ...

Googlemaps API: problems getting my key

Hi, i am doing a debug key and i can't. Im stuck here: "Once you have located the keystore, use this Keytool command to get the MD5 fingerprint of the debug certificate: $ keytool -list -alias androiddebugkey \ -keystore .keystore \ -storepass android -keypass android" i located my keystore, but i dont know how to put that order.... i...

TV guide listing API

hi, does anybody know a provider offering TV listings (through API or download) for all channel and cable providers? or is there any independent company collecting/providing such data? an API/REST/SOAP interface would be great. thanks ...

How does someone monitor web API access rate limit?

I was just wondering how do people manage access to their JSON or other type of APIs. Is there a tool to manage rate limit such as an IP address is allows to access the API 60 times per second. ...

are there any web apis out there to maintain online ranking leaderboards?

Hi Im looking for a site that provides leaderboards, via an api. that i can use to keep ranking tables for offline sports, and also if i want to access it via an api to pull in to my blog etc. thanks! ...

using different params with the jqGrid api for paging

I'm using jqGrid with a restful api. By default when I click "next page", I get a url like: http://myservice.com?rows=20&page=2 (I'm leaving out some params to keep the example simple.) The service expects a url like: http://myservice.com?limit=20&offset=2 What's the easiest way to set up that translation? ...

Building an application with a site's API

So I want to build an application in Objective C for a site that I use. Here is an example of their login API: Verify Credentials Allows authenticating user to check username/password. URL: http://myanimelist.net/api/account/verify_credentials.xml Formats: xml HTTP Method(s): GET Requires Authentication: true Response: Success: 200...

How to make a Google Maps address - like lookup

You've probably all seen the maps.google.com.au address lookup. Start typing into the text box and your address auto completes in the list before you've finished. It also bolds the matching sections of the text that link to what you are typing. I've used both the javascript api of maps and the http api. The geocoding seems to do someth...

Using diferrent version of binary in Umbraco 4.5

Hi all, I'm trying to integrate Umbraco 4.5 and Mailchimp .NET API wrapper. I'm running into problems because Umbraco uses CookComputing.XmlRpcV2.dll which is version 2.00 whereas Mailchimp API uses same binary but version 2.4 If I replace Umbraco binary with newer version, the admin area stops working (you can log in but all the cont...

Drupal 6: How to sort/filter search results by date

Hello, How to customize standard search behavior in Drupal 6? I need search results to be sorted by date. In example, people want to show items within 2 past weeks or something like that. I've tried a lot things on this reference without luck. Have you ever encountered such problem? Any help will b appreciated. Thanks! ...

Youtube API / Zend GData library / Authentification

Heya guys, I want to let users on a website I'm building to log in with YouTube after clicking a link, so they can post comments on YouTube on some videos that I'm displaying from a YouTube feed, as well as let them upload their own videos that I would link on the website. Problem is, I'm using an unauthentificated instance of the Zend...

Good peer to peer payment API?

I'd like to build a service allowing groups of people to pay each other. Google Checkout is nice, except it doesn't support peer-to-peer. Paypal does, but its API looks sort of gross. Are there any other good services out there? I'm using .NET. ...

What other APIs are available for hotels?

I am looking for APIs that allow hotel operators to update room information and other hotel info programatically, so far I have only found Expedia QuickConnect but I cannot find anything else. Anyone know of other APIs? Just to reiterate these are APIs to manage a hotel (rooms, prices etc) not to search for hotel rooms. ...

Make a POST request

I would like to know how to make a HTTP POST request like it's described there http://code.google.com/apis/documents/docs/3.0/developers_guide_protocol.html#UploadingMetadata (Creating an empty document). My code looks like this: <?php $headers = array( "POST /feeds/default/private/full HTTP/1.1", "Host: docs.google.com", "...

Help with Reddit API Documentation

Looking at the official? Reddit API page it seems quite sparse. In particular I can't like a description of the json files so I don't have to recreate them from scratch (is element x always null and if not what is the type it's supposed to be?). Or an API for submitting stories on there. Can anyone find any other sources of document...

How do I change the amount of items retrieved from a flickr feed?

Does anyone know the parameter to change (decrease) the amount of items retrieved in the flickr feed? It always returns 20 items by default. Example: http://api.flickr.com/services/feeds/photos_public.gne?format=json The documentation is rather scarce: http://www.flickr.com/services/feeds/ ...

How to Protect a private REST API

I'm currently thinking how I could protect my REST API which is used only by my mobile application from being used by other applications? Could a API-Key be a good solution, because just me know the secret API key. Is there a better solution? ...

Unable to retrieve email using using facebook api

I am trying to retrieve user email via facebook after user authentication on my website. I ran the query below, but the email and birthday fields are empty ; and they are very vital for registration on my website. #*** run fql *** $fql = "select uid, first_name, last_name, name, sex, email, current_location, website, interests,...