Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jaxx2104/mt-dataapi-php
Simple PHP Wrapper for MT DataAPI v3
https://github.com/jaxx2104/mt-dataapi-php
Last synced: 19 days ago
JSON representation
Simple PHP Wrapper for MT DataAPI v3
- Host: GitHub
- URL: https://github.com/jaxx2104/mt-dataapi-php
- Owner: jaxx2104
- Created: 2015-08-26T06:50:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-25T01:16:24.000Z (over 8 years ago)
- Last Synced: 2024-12-04T09:07:48.417Z (about 1 month ago)
- Language: PHP
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mt-dataapi-php
Simple PHP Wrapper for MT DataAPI v3
# Description
# Installation
composer
```json
{
"require": {
"jaxx2104/mt-dataapi-php": "dev-master"
}
}
```
# Usage
```php
login(["username" => $user, "password" => $pass])){
var_dump("faild login");
var_dump($mt->response);
exit(1);
}
//success login
var_dump($mt->response);if (!$mt->listCategory($blogId)) {
var_dump("faild get category");
var_dump($mt->response);
exit(1);
}
//success get category
var_dump($mt->response);
```