anchor.diff:  FORMAT: 1A
  +HOST: http://private-3c4e5-homeshop.apiary-mock.com
   
   # HomeShop
   
   HomeShop is an application to automatize your groceries needs, and to help you spend less time shopping.
  +
  +## Login [/login]
  +
  +Handles the login.
  +
  +### Handles login [POST]
  +
  +Handles the login of a previous user. Should be sent over SSL.
  +
  ++ Request (application/json)
  +
  +        {
  +            "username": "yuri-m-dias",
  +            "password": "senha123"
  +        }
  +
  ++ Response 200 (application/json)
  +
  +    + Body
  +
  +            {
  +                "auth-token": "tk_GmVtYvffWZM7D721iO4mFiXI1ywlDWsTyFQU"
  +            }
  +
  ++ Response 422 (application/json)
  +
  +    + Body
  +
  +            {
  +                "error": "Failed to authenticate. Wrong username or password."
  +            }
  +
  ++ Response 500 (application/json)
  +
  +    + Body
  +
  +            {
  +                "error": "Internal server error."
  +            }
  +
  +# Group markets information
   
   ## Supermarkets Collection [/markets]
   
  
positive.code:                 "image": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD//gAMQXBwbGVN="
              }
  
  ### Get all products for this supermarket, with filtering and pagination [GET]
  
  ## Products Collection [markets/{market_id}/products/{product_id}]
  
  ### Alter one product [POST]
  
  ### Delete one product [DELETE]
  
  ## Login [/login/{email}/{password}]
negative.code:             "id": 1,
              "name": "Extra",
              "header": "base64:/imgs/markets/extra-header.png",
              "products": "/markets/1/products",
              "location": {
                  "lat": "37.7898",
                  "lon": "-122.3942"
              }
          }
  
  # Group Products information
  
  All the operations related to the products go here.
  
  ## Products Collection [/markets/{market_id}/products{?start,limit}]
  
  References one collection of products from a single supermarket.
  
  + Parameters
      + market_id (number) - ID of the Market in the form of an integer
      + start (number) - number of the starting element, if paging
      + limit (number) - limits the requet to this many elements
  
  ### Get all products for this supermarket, with filtering and pagination [GET]
  TODO: filtering and sorting
  
  + Response 200 (application/json)
  
          {
              "market": "Extra",
              "meta": {
                  "page": 1,
                  "start": 0,
                  "limit": 20
              },
              "products": [
                  {
                      "id": 1,
                      "name": "Sucrilhos",
                      "description": "Yummy!",
                      "price": "R$53,00",
                      "image": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD//gAMQXBwbGVN="
                  },
                  {
                      "id": 2,
                      "name": "Sucrilhos2",
                      "description": "Yummy2!",
                      "price": "R$54,00",
                      "image": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD//gAMQXBwbGVN="
                  },
                  {
                      "id": 3,
                      "name": "Sucrilhos3",
                      "description": "Yummy!3",
                      "price": "R$33,00",
                      "image": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD//gAMQXBwbGVN="
                  }
              ]
          }
  
  ### Create a New Product on this supermarket [POST]
  
  