All Projects → joedawson → amazon-ecs

joedawson / amazon-ecs

Licence: MIT license
With Laravel, search and lookup Amazon products easily.

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to amazon-ecs

Amazon Ecs
With Laravel, search and lookup Amazon products easily.
Stars: ✭ 43 (-17.31%)
Mutual labels:  marketplace, amazon, ecs
Wcvendors
The Marketplace plugin for WordPress and WooCommerce
Stars: ✭ 130 (+150%)
Mutual labels:  marketplace, amazon
Ecs Exporter
Export AWS ECS cluster metrics to Prometheus
Stars: ✭ 127 (+144.23%)
Mutual labels:  amazon, ecs
Aws Workflows On Github
Workflows for automation of AWS services setup from Github CI/CD
Stars: ✭ 95 (+82.69%)
Mutual labels:  amazon, ecs
Aws Containers Task Definitions
Task Definitions for running common applications Amazon ECS
Stars: ✭ 210 (+303.85%)
Mutual labels:  amazon, ecs
Cagette
Cagette.net, le logiciel libre des circuits courts
Stars: ✭ 111 (+113.46%)
Mutual labels:  marketplace
Reaction
Mailchimp Open Commerce is an API-first, headless commerce platform built using Node.js, React, GraphQL. Deployed via Docker and Kubernetes.
Stars: ✭ 11,588 (+22184.62%)
Mutual labels:  marketplace
Jina Hub
An open-registry for hosting Jina executors via container images
Stars: ✭ 71 (+36.54%)
Mutual labels:  marketplace
Performance Improvements For Woocommerce
Performance tweaks for the front-end and back-end of a store.
Stars: ✭ 46 (-11.54%)
Mutual labels:  marketplace
Codeponder
Marketplace for Code Reviews
Stars: ✭ 221 (+325%)
Mutual labels:  marketplace
Sharetribe
Sharetribe Go is a source available marketplace software, also available as a hosted, no-code SaaS product. For a headless, API-first marketplace solution, check out Sharetribe Flex: https://www.sharetribe.com/flex.
Stars: ✭ 2,184 (+4100%)
Mutual labels:  marketplace
Particl Desktop
The GUI application for Particl Markeplace and PART coin wallet. A decentralized peer to peer marketplace –free, secure, private, untraceable.
Stars: ✭ 131 (+151.92%)
Mutual labels:  marketplace
Gitpay
Bounties for issues on demand. Be rewarded by learning, using Git workflow and continuous integration
Stars: ✭ 121 (+132.69%)
Mutual labels:  marketplace
Dokan
Multivendor marketplace platform
Stars: ✭ 146 (+180.77%)
Mutual labels:  marketplace
Unchained
Headless & open-source e-commerce toolkit. The Unchained Engine is our core product and is written in Node.js ES6
Stars: ✭ 92 (+76.92%)
Mutual labels:  marketplace
Fluttergames
Flutter app for purchasing and renting games.
Stars: ✭ 182 (+250%)
Mutual labels:  marketplace
Marketplace Sample Apps
Repository of sample codes demonstrating usage of SDK and APIs on the Freshworks developer platform. 🔗 https://developers.freshworks.com
Stars: ✭ 70 (+34.62%)
Mutual labels:  marketplace
Marketplace
The fluent laravel marketplace
Stars: ✭ 164 (+215.38%)
Mutual labels:  marketplace
Grandnode
Open source, headless, multi-tenant eCommerce platform built with .NET Core, MongoDB, AWS DocumentDB, Azure CosmosDB, Vue.js.
Stars: ✭ 1,768 (+3300%)
Mutual labels:  marketplace
Aimeos Core
Aimeos PHP e-commerce framework for ultra fast online shops, complex B2B applications and #gigacommerce
Stars: ✭ 2,152 (+4038.46%)
Mutual labels:  marketplace

Amazon ECS (E-Commerce Services) Package for Laravel

If you need the ability to search Amazon's catalog of products or lookup an individual item with Laravel, then this may be the package for you.

Please note, you'll need to ensure you have an associate tag before using this package.

Installation

composer require dawson/amazon-ecs

After you have successfully installed, add the follow Service Provider to your config/app.php.

Dawson\AmazonECS\AmazonECSServiceProvider::class,

And the following facade, also in config/app.php.

'Amazon' => Dawson\AmazonECS\AmazonECSFacade::class

Now we'll go ahead and publish the amazon.php configuration file.

php artisan vendor:publish --provider="Dawson\AmazonECS\AmazonECSServiceProvider"

Open up the amazon.php configuration file and enter your credentials or leverage the use of environment variables which're used by default.

When it comes to choosing a locale, you have a choice of the following:

Locale Country
co.uk United Kingdom
com United States
ca Canada
com.br Brazil
de Germany
es Spain
fr France
in India
co.jp Japan
com.mx Mexico

You should now be correctly configured!

Usage

Currently, there are two methods available which are search and lookup.

Search

$results = Amazon::search('Home Alone')->json();

It's that simple!

Please note, this currently searches the entire Amazon catalog. I plan on adding the ability to search within a given category soon so keep an eye out for that.

Lookup

You can also lookup any given item, assuming it's availble on your configure locale and is a valid ASIN, of which is possible by doing the following:

$product = Amazon::lookup('B004VLKY8M')->json();

This will simply return the product, it's attributes and item links.

Responses

Currently, there are two available response methods. The default xml method, or my preferred - json.

The following returns an XML string.

$xml = Amazon::search('Call of Duty')->xml();

And as you can probably assume, the following returns a JSON string.

$json = Amazon::search('Halo')->json();

Questions & Issues

Should you have any questions or come across a problem, please feel free to submit an issue.

License

This package is open-sourced software licensed under the MIT license.


Planned

  • Finish Documentation
  • Locales
  • Better Exception Handling
  • Cart abilities, such as modifying, adding, clearing etc.
  • XML to JSON (the ECS API returns an XML response, I myself would like to have the ability to convert this to JSON - but optional)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].