Create Link

7/20/2010 8:14 AM
You can subscribe to this wiki article using an RSS feed reader.

Overview

This call creates a link, of course.

Url

http://api.edeems.com/createLink

Parameters

Parameters in bold are required

NameDescription
apiKeyThe api key provided to you on the developer screen (developer.edeems.com)
urlThe destination url
formatjson* or pipe
charityIdOptional charity id as retrieved by the list charity API.
longUrlPLEASE set to "1" to indicate that a really short url isn't needed.
Sample use would be when redirecting the user from their current url to the same
url through a converted link (to get current page cashback/donation) like our Chrome extension does.
usernameUsername of the user creating the link
userApiKeyA 5 digit code that the user must retrieve from the member account section.  
Required if username is provided.

Response

NameDescription
inNetworktrue or false, indicating if the link created is in network or not
urlThe shortened url
payoutThe pretty payout description
charityBoostThe amount extra that will be earned if a charity is used