Wiki

Articles tagged with "api"X
Displaying 1-4 of 4 result(s).

Find geolocation info of client through another API

Created 5 months ago by KonApazHow-tos0 comments – viewed 1,219 times – ( +1 ) – version 1.1
This wiki shows how to get the geolocation info of the client using another server API It could be write also as extension but there are a lots of APIs that change the below code So, I wrote the below code that works for one of them (using www.geoplugin.net)

Simple Web APIs for your Yii App

Created 9 months ago by shivHow-tos3 comments – viewed 7,266 times – ( +2 / -2 ) – version 1.1
Its very common now-a-days to have Mobile app for web apps. For Mobile apps we need web APIs to fetch data or even post/update on web. We found a very simple method to make such interface. Mobile App can call plain get or post request and receive data back in JSON format. JSON is relatively easy for mobile app to handle while plain standard GET/POST request for easy for Web server to handle. This mixed approach saves lot of time on server side. We not really need to handle actual REST requests and still be able to exchange data between web and mobiles or ajax java-scripts or even node.js.
tags: API, JSON

YouTube API v2.0 – Browser-based Uploading

Created 2 years ago by VaibhavHow-tos1 comment – viewed 10,790 times – ( +6 ) – version 1.1
Through the YouTube API you can upload files directly to the Youtube server. Youtube currently offers two services 1. Direct Link 2. Browser Based Uploading. In this wiki I will demonstrate how you can quickly set Browser Based Uploading for your Yii application. This is the protocol request that takes place.

How-To: Create a REST API

Created 3 years ago by jwernerHow-tos54 comments – viewed 222,869 times – ( +107 / -1 ) – version 1.1
This article will explain how to create a REST API with the Yii framework.