Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pontusab/ratsit
Library for implementing Ratsit API - Personal data search
https://github.com/pontusab/ratsit
Last synced: 2 months ago
JSON representation
Library for implementing Ratsit API - Personal data search
- Host: GitHub
- URL: https://github.com/pontusab/ratsit
- Owner: pontusab
- Created: 2013-08-19T11:20:06.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-08-28T12:34:41.000Z (over 11 years ago)
- Last Synced: 2024-04-20T17:09:05.152Z (9 months ago)
- Language: PHP
- Homepage: http://www.ratsit.se/Content/API_Webservice.aspx
- Size: 117 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Installation
Follow these steps:
* Get your api-key by contact Ratsit http://www.ratsit.se/Content/API_Webservice.aspx
* [Download the latest release](https://github.com/pontusab/Ratsit/archive/master.zip).
* Clone the repo: `git clone git://github.com/pontusab/Ratsit.git`.
* Install via Composer in your project: `curl -s http://getcomposer.org/installer | php`
* Install Ratsit: `php composer.phar install`
* Autoload Ratsit:```
require 'vendor/autoload.php';use Ratsit\Ratsit as Ratsit;
Ratsit::$service = 'GetPersonInformationPackage';
Ratsit::$apiKey = '';
Ratsit::$packages = 'small 1';$Ratsit = new Ratsit;
$response = $Ratsit->searchPerson('personal number');
print_r( $response );
```## Authors
**Pontus Abrahamsson**
+ [http://twitter.com/pontusab](http://twitter.com/pontusab)
+ [http://github.com/pontusab](http://github.com/pontusab)## Copyright and license
Copyright 2013 Pontus Abrahamsson.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this work except in compliance with the License.
You may obtain a copy of the License in the LICENSE file, or at:[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.