Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
A Ruby API for http://www.lazada.com.my
Add this line to your application's Gemfile:
gem 'lazada'
And then execute:
$ bundle
Or install it yourself as:
$ gem install lazada
The client is the base for all communication with the API.
client = Lazada::Client.new(api_key, user_id)
Default timezone is 'UTC'. Can be specified otherwise. Refer to lib/lazada/client.
Get all or a range of products.
client.get_products(filter)
Possible filter values are all, live, inactive, deleted, image-missing, pending, rejected, sold-out.
Create a new product.
client.create_product({ 'SellerSku' => 'lz001A', ... })
Update the attributes of one or more existing products.
client.update_product({ 'SellerSku' => 'lz001A', 'Price' => 12 })
Removes one or more products
client.remove_product(seller_sku)
Get the list of all product categories.
client.get_categories
Returns a list of attributes with options for a given category.
cleint.get_category_attributes(primary_category_id)
Get the customer details for a range of orders.
client.get_orders({ status: status })
Possible status values are pending, canceled, ready_to_ship, delivered, returned, shipped and failed.
Get the order items for a single order.
client.get_order(order_id)
Returns the items for one order.
client.get_order_items(order_id)
Set the Images for a Product, by associating one or more URLs with it.
client.set_images({ 'ProductImage' => { 'SellerSku' => 'lz001A', 'images' => { ... } } })
Returns detailed information about a specified feed.
client.feed_status(feed_id)
Returns all feeds created in the last 30 days.
client.feed_list
After checking out the repo, run bin/setup
to install dependencies. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/yoolk/lazada. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that lazada_dino demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.