Short URLs are created using the rename!me-API "http://rnm.me/api.php". The methods "GET" and "POST" can be used.
For this purpose, at least the parameters "url" and "apikey" will be required, "pw", "app" and "myurl" are optional.
url | To be shortened, the web address (URL), it must exist and encoded. |
apikey | Needed parameter, saves your urls to your Facebook or Twitter Account. |
pw (optional) | Password, without a referral to the source URL is not possible. Allowed characters: a-z, A-Z, 0-9. The signs "-", "_", "." and ";" are not allowed. |
title (optional) | Site title, describes how the page is called. Appears in the 'your last 10-urls' Baloon as page name. |
app (optional) | For the purpose of statistics, the program can be named to be used with the short URL. (Maximum number of characters: 15) |
myurl (optional) | An optional rename!me request URL. If this parameter is not present, the URL is randomly generated. Allowed characters: a-z, A-Z, 0-9. The signs "-", "_", "." and ";" are not allowed. |
Code 200
The URL was successfully reduced.
Code 400
There was an error, this returns the following occur:
Parameter 'url' is missing:
'url' has the wrong format
'url' is too short, the complete URL must possess more than eight characters:
The URL of rename!me can not be reduced:
Code 401
There was an error, this returns the following occur:
Parameter 'apikey' is missing:
Use the rename!me Preview API "http://rnm.me/preview.php" to see which URLs are behind the rename!me-URLs. The methods "GET" and "POST" can be used.
For this purpose, one of the parameters "short" or "url" will be required. The different editions "url", "title" and "clicks are with '\r\n' separately.
Just take a look a our PHPRNLib (PHP rename Libary) for more options to preview any kind of short links! It also include image seperations of twitpic.com, yfrog, img.ly, skitch.com and flic.kr
The first line describes the URL will be passed on, the second line contains the title, the third the clicks, so as if the link has already been clicked.
Code 200
The preview control problems, the separation of information is done with '\r\n'.
Code 400
There was an error occurs while the following return:
Abbreviated Shortcut was not found:
Images of strings are created with the rename!me-Sting2Image API "http://str.rnm.me/api.php". The methods "GET" and "POST" can be used.
For this purpose, at least the parameter "str" will be required, "pw", "app" and "myurl" are optional.
str | The desired string to be displayed as an image. This parameter must be present and encoded. |
pw (optional) | Password, without a referral to the source URL is not possible. Allowed characters: a-z, A-Z, 0-9. The signs "-", "_", "." and ";" are not allowed. |
app (optional) | For the purpose of statistics, the program can be named with the String2Image-URL is be used. (Maximum number of characters: 15) |
myurl (optional) | An optional rename!me String2Image-request-URL. If this parameter is not present, the rename!me-API will create a randomly generated URL. Allowed characters: a-z, A-Z, 0-9. The signs "-", "_", "." and ";" are not allowed. |
Code 200
The string has been successfully entered into the database and is now available.
Code 400
There was an error occurs while the following return:
Parameter 'url' is missing: