Browsing this Thread:   1 Anonymous Users

 Share on Facebook  




2lk.nl API
Webmaster
Joined:
2009/8/20 15:26
From Netherlands
Group:
Webmasters
Registered Users
Posts: 67
Level : 7
HP : 0 / 152
MP : 22 / 461
EXP : 8
Offline
Further on the http://2lk.nl/8p service running from this website using the Xurl module, we have developed an API for it.
All registered users can use the API for free(!) to shorten urls straight from their own website.

How does it work?

Make sure you are a registered user of this website! (It's free!)

To use the API from your own PHP script:

Call "http://www.designburo.nl/ett2/modules/Xurl/api.php"

Use var url to send the url
Use var u for your username
Use var p for your password

Read the info coming back from the API. This will contain 1 line if there is an error. It will contain two lines if all is well. Line 1 is the shortened URL and line 2 is a url of the QRCODE PNG image created for your shortened URL.

So a call could look something like this:
Quote:

$api_url = "http://www.designburo.nl/ett2/modules/Xurl/api.php";
$api_url .= "?url=http://www.microsoft.com";
$api_url .= "&u=<<NAME>>&p=<<PASS>>;
$f = fopen($api_url, "r");

Then you read the two lines and off you go..

If you have questions, just drop us a note here in the forum.

Also.. if you, after registering, do not receive an email, you can still logon!

Also.. do not forget.. ANY shortened URL you created can be viewed and deleted on the Xurl module page (click on --Show shortened URL manager).
This will show you YOUR created URLS and also all its statistics:
- Creation date
- Old URL
- Who clicked the URL, where did they come from, what is their location (country, city and region), MAC, WIN or linux users and it will even draw you a googlemap of their location.


Posted on: 1/22 20:42
_________________
"I've found that when you want to know the truth about someone that someone is probably the last person you should ask." - House md


Re: 2lk.nl API
Webmaster
Joined:
2009/8/20 15:26
From Netherlands
Group:
Webmasters
Registered Users
Posts: 67
Level : 7
HP : 0 / 152
MP : 22 / 461
EXP : 8
Offline
Export to Xcell/CSV implemented

Variables : u, p and exp=csv

Posted on: 1/28 19:03
_________________
"I've found that when you want to know the truth about someone that someone is probably the last person you should ask." - House md






You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]


Xurl info

Xurl has shortened
2574
URLs so far

Tags
1.2 1.3 2lk available campagne campaign client e-mail editor email ETTFPE free generator gratis makelaar manager marketing new nieuw personal persoonlijke phone preview promotion QRCode shortening sms statistics tutorial Twitter update updates url versie version video voorbeeld web website xoops xurl
Login

Username:

Password:


Remember me