Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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);
```