Using ebay api in ruby โ€‹โ€‹with ebay gem

I need to create a program that interacts with eBay through the eBay API. I use ruby. And I found the ebay gem at http://github.com/codyfauser/ebay .

The problem is that the gem has little documentation. Can anyone share some code examples? I'm more interested in revising items.

Thank.

Sam

+3
source share
3 answers

Have you looked at examples ? If you have already done this, what are you looking for for a specific solution?

0
source

, , , , : https://github.com/ccollins/rebay

: (4 2011 .) API eBay, eBay, API, . , , .

:

JSON.parse(open(BASE_URL + params.to_query).read)

params - :

      {
    'OPERATION-NAME'             => QUERY_TYPE,
    'SERVICE_VERSION'            => SERVICE_VERSION,
    'SECURITY-APPNAME'           => EBAY_APP_ID,
    'RESPONSE-DATA-FORMAT'       => RESPONSE_FORMAT,
    'storeName'                  => ebay_store_id,
    'paginationInput.pageNumber' => page
  }
+2

Oh, the ebay gem comes with a catalog of examples, and it has example tricks.

0
source

Source: https://habr.com/ru/post/1772547/


All Articles