Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lucasfidelis/mercadolivre-php-sdk
SDK PHP para integração com as APIs do Mercado Livre
https://github.com/lucasfidelis/mercadolivre-php-sdk
composer composer-library mercadolivre-sdk php-8 php-library rest-client
Last synced: 3 months ago
JSON representation
SDK PHP para integração com as APIs do Mercado Livre
- Host: GitHub
- URL: https://github.com/lucasfidelis/mercadolivre-php-sdk
- Owner: LucasFidelis
- License: mit
- Created: 2024-05-18T15:02:51.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-06-23T01:40:29.000Z (8 months ago)
- Last Synced: 2024-11-07T07:02:51.806Z (3 months ago)
- Topics: composer, composer-library, mercadolivre-sdk, php-8, php-library, rest-client
- Language: PHP
- Homepage:
- Size: 107 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Mercado Livre SDK PHP
## How to use
```php
use LucasFidelis\MercadoLivreSdk\Client\Client;
use LucasFidelis\MercadoLivreSdk\Managers\ProductManager;...
$itemId = 'MLB123456789';
$client = new Client($CLIENT_ID, $CLIENT_SECRET, $ACCESS_TOKEN, $REFRESH_TOKEN);
$productManager = new ProductManager($client);$product = $productManager->findById($itemId);
$product->setPrice(123.45);
$productManager->updatePrice($product);
```## How to install
composer require lucasfidelis/mercado-livre-sdk
## Supported features
### Authentication and Authorization
| Feature | Status |
|----------|--------|
| Authorization | ✅ |
| Refresh token | ✅ |
| Create a test user | ✅ |
| Get Profile | ✅ |### Products
| Feature | Status |
|----------|--------|
| Get Item by ID | ✅ |
| Search items by Seller ID | ✅ |
| Get current sales price | ✅ |
| Change variations | ✅ |
| Update Available Quantity | ✅ |
| Get Item Prices | ✅ |
| Update Price | ✅ |
| Create an Item | 🔜 |### Orders
| Feature | Status |
|----------|--------|
| Get Order by ID | ✅ |
| Get Billing Info | ✅ |### Shipment
| Feature | Status |
|----------|--------|
| Get Shipment by ID | ✅ |
| Get Shipment Costs | ✅ |
| Get Shipment Items | ✅ |
| Get Shipment Label as ZPL | ✅ |## Contribute
Feel free to open pull requests; we welcome contributions! However, for significant changes, it's best to open an issue beforehand. Before creating your own issue or pull request, always check to see if one already exists!
## Disclaimer
This project is not associated, authorized, endorsed by, or in any way with MercadoLibre.
MercadoLibre, as well as related names, marks, emblems and images are registered trademarks of their respective owners.