Code Monkey home page Code Monkey logo

mercadolibre's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mercadolibre's Issues

get_my_item_ids is not supported in the code but is on the README

Hey!

Thanks for building this. I just wanted to report that on the README you make reference to get_my_item_ids but that method does not exist in the codebase.

Could you please remove that from the docs?

This is the bit of doc that I believe is out of date:

* api.get_my_item_ids(filters={})
  -> Search all your item ids with filters (with pagination).

get_hot_items doesn't work now, status = 502, message = "Bad Gateway"

When trying to find hot items with this command in the rails console:

api.get_hot_items ("MLA", "MLA1574", limit = 15)
He returns the following message:

irb (main): 182: 0> api.get_hot_items ("MLA", "MLA1574", limit = 15)
=> # <OpenStruct status = 502, message = "Bad Gateway">

The same message for any site_id, any category_id or any limit.

I have tried several api, and all I have tried work correctly, this is the only one that gives me this message.

Search items

i am not being able to retrieve any information using the method: search_items.
It always retrieve an empty array.

I tried using as input: "product name", q="product name"" , "id category" and so on.

Could you review it? to make sure is not the method? it is not, how do you enter the filters?

Regards,

Example Result:
#<OpenStruct site_id="MLC", paging=#, results=[], secondary_results=[], related_results=[], sort=#<OpenStruct id="relevance", name="Más relevantes">, available_sorts=[#<OpenStruct id="price_asc", name="Menor precio">, #<OpenStruct id="price_desc", name="Mayor precio">], filters=[], available_filters=[]>

child_categories should be fetched

If you have:

    mel = Mercadolibre::Api.new({ ... })
    mel.get_category("MLC1430").children_categories

you get an array of Mercadolibre::Entity::Category
But this categories have only name and id (doesn't have settings or children_categories)

Would be nice to have a fetch method like mel.get_category("MLC1430").children_categories.last.fetch which calls the api and gets all the info of this Category (including his childrens).

I didn't made a pull request because calling the api from the Category entity was a bit strange...
¿what do you think?

order object nil

api_obj = api
order_obj = api_obj.get_order(order_number)
order_obj.id ### this line returns nil even though
puts order_obj ### returns #Mercadolibre::Entity::Order:0x007f57ecb41518
Worked fine since December 1st. until today 4 am was the last successful order stored in our system

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.