Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for completed items under findCompletedItems service #10

Open
saurori opened this issue Oct 9, 2013 · 0 comments
Open

Support for completed items under findCompletedItems service #10

saurori opened this issue Oct 9, 2013 · 0 comments

Comments

@saurori
Copy link

saurori commented Oct 9, 2013

It would be nice to have support for searching completed items under the findCompletedItems service (http://developer.ebay.com/DevZone/finding/CallRef/findCompletedItems.html). Example:

    def find_completed_items(params)
      raise ArgumentError unless params[:keywords] or params[:categoryId]
      response = get_json_response(build_request_url('findCompletedItems', params))
      response.trim(:findItemsAdvancedResponse)

      if response.response.has_key?('searchResult') && response.response['searchResult'].has_key?('item')
        response.results = response.response['searchResult']['item']
      end
      return response
    end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant