/YouShort

A Free URL shortened with an api written in PHP

Primary LanguagePHPApache License 2.0Apache-2.0

Sign Up

YouShort

A Free URL shortened with an api


Installation

Step Description
1. Create an account and Sign In on http://api.yougraph.fr
2. Fill in the information for setting up your account
3. Get your API Key and configure it
4. To send a request, the user must use the following format where the variables api and url are required.To request a custom alias, simply add &custom= at the end.
5. php GET http://api.yougraph.fr/api/?key=YOURAPIKEY&url=THELONGURLTOBESHORTENED&custom=CUSTOMALIAS
6. To use the API in your PHP application, you have to send a GET request through file_get_contents or cURL: Both are reliable methods.

Quick Shortener

  • This tool allows you to quickly shorten any URL in any page without using any fancy method. This is perhaps the quickest and the easiest method available for you to shorten URLs across all platforms. This method will generate a unique short URL for you that you will be able to access anytime from your dashboard.

  • Use your quick URL below to shorten any URL by adding the URL after /q/?u=. For security reasons, you need to be logged in and using the remember me feature. Check out the examples below to understand how to use this method.

    Usage: php http://api.yougraph.fr/q/?u=URL_OF_SITE

  • Examples
    http://api.yougraph.fr/q/?u=https://www.google.com
    http://api.yougraph.fr/q/?u=snapchat.com
    http://api.yougraph.fr/q/?u=https://www.apple.com/iphone-x/

Screenshot

  • Dashboard

  • Short URL

  • Functions

  • Homepage

  • Website

  • Notes

    Please note that this method does not return anything. It simply redirects the user to the redirection page. However if you need the actual short URL, you can always get it from your dashboard.

    Contributions

    If you find something wrong you can contribute through [issues] https://github.com/Sam-Ryan/YouShort/issues

Thank you!