Ruby client for indix API
gem install indix-api-client
require 'indix_api_client'
##Initialize Api Client
ixc = IndixApiClient.new("app_id", "app_key")
##BCS Lookup To Get Stores
ixc = IndixApiClient.new("app_id", "app_key")
query = BCSQueryParams.new
query.q="nike"
ixc.get_stores(query)
##Product Search To get summary products
ixc = IndixApiClient.new("app_id", "app_key")
query = SearchParams.new
query.q="nike"
query.countryCode="US"
query.storeId=[24]
ixc.get_summary_products(query)
##Product Detail To get summary product detail
ixc = IndixApiClient.new("app_id", "app_key")
ixc.get_summary_product_detail("pid")
##Bulk Product Lookup Job To post bulk summary product lookup
ixc = IndixApiClient.new("app_id", "app_key")
query = BulkProductLookupParams.new
query.countryCode="US"
query.file=File.new("---path----")
ixc.post_bulk_summary_product_lookup(query)
##Bulk Product Search Job To post bulk product summary search
ixc = IndixApiClient.new("app_id", "app_key")
query = BulkProductSearchParams.new
query.countryCode="US"
query.storeId=[1001]
ixc.post_bulk_summary_products(query)
##Bulk Job Status
ixc = IndixApiClient.new("app_id", "app_key")
ixc.get_bulk_job_status(job_id)
##Bulk Job Output
ixc = IndixApiClient.new("app_id", "app_key")
ixc.get_bulk_job_output(job_id)