Git Product home page Git Product logo

codeigniter-google-url-shortener-api's Introduction

CodeIgniter Google URL Shortener API Library

Welcome to the home of the Google URL Shortener API Library, a project that will help you to shorten, expand, analytics long URL.

What is the Google URL Shortener API?

The Google URL Shortener at goo.gl is a service that takes long URLs and squeezes them into fewer characters to make a link that is easier to share, tweet, or email to friends. The Google URL Shortener API allows you to develop applications that interface with this service. You can use simple HTTP methods to create, inspect, and manage goo.gl short URLs from your desktop, mobile, or web application.

ref : http://code.google.com/intl/zh-TW/apis/urlshortener/

INSTALLATION

Download all file from this site. $ https://[email protected]/appleboy/CodeIgniter-Google-URL-Shortener-API.git $ git clone git://github.com/appleboy/CodeIgniter-Google-URL-Shortener-API.git

Move the files to their corresponding places within your codeigniter application directory. $ copy config/google_url_api.php your_application/config/ $ copy controller/google_url.php your_application/controller/ $ copy libraries/Google_url_api.php your_application/libraries/

Open config/google_url_api.php file, and configure your shorten api key $config['google_api_key'] = "xxxxx";

Test your controller file: google_url.php http://localhost/google_url/

If you're having problems, then enable debugging in your controller code: $this->google_url_api->enable_debug(TRUE);

COPYRIGHT AND LICENCE

Copyright (C) 2011 Bo-Yi Wu 吳柏毅 ( appleboy )

codeigniter-google-url-shortener-api's People

Contributors

appleboy avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.