This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
aurelian (author)
Thu Jul 02 15:35:38 -0700 2009
commit 4abf78bddbcc198c5b57edb4e39a9c60ab9303e0
tree f129b654a5aae2509d5ad90769c88fe7a59d4bf8
parent d96c0908ab0371bdc6d3bfbfa4dcb343ede2651f
tree f129b654a5aae2509d5ad90769c88fe7a59d4bf8
parent d96c0908ab0371bdc6d3bfbfa4dcb343ede2651f
ondi.ro / php-curl
| name | age | message | |
|---|---|---|---|
| .. | |||
| |
README.textile | ||
| |
ondi.ro.php | ||
| |
sample.php |
php-curl/README.textile
PHP-cURL client to access http://ondi.ro API
Requirements
- PHP 5
- ondi.ro api key
- php-curl extension
Install
wget/download/git clone ondi.ro.php (as raw file).
Usage
require 'ondi.ro.php'; $request= new OndiRequest(API_KEY);
PSEUDO – Geocoding with /api/locate
$response= $request->locate($name, $page= 1, $format= null);
Reverse Geocoding with /api/reverse
$response= $request->reverse($lat, $long, $radius= 2,$page= 1, $format= null);
Geoparsing with /api/where
$response= $request->where($text, $page= 1, $format= null);
Issues
To report issues please use github infrastructure.
Fork the project and send me a pull request for ideas/patches.
Licence
Copyright (c) 2009 Aurelian Oancea, http://ondi.ro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.








