# MWS Orders [![Build Status](https://travis-ci.org/hakanensari/mws-orders.svg)](https://travis-ci.org/hakanensari/mws-orders) **MWS Orders** is a full-featured Ruby interface to the [Amazon Marketplace Web Service (MWS) Orders API](http://docs.developer.amazonservices.com/en_UK/orders/index.html). With the MWS Orders API, you can list orders created or updated during a time frame you specify or retrieve information about specific orders. To use Amazon MWS, you must have an eligible seller account. ## Usage Create a client: ```ruby require "mws-orders" client = MWS.orders ``` Set up credentials [when instantiating or with environment variables](https://github.com/hakanensari/peddler#quick-start). ### Orders List orders created or updated during a time frame you specify: ```ruby orders = client.list_orders(created_after: 1.month.ago) puts orders.count # => 100 puts orders.first # => # #