封装了小红书API,包含订单列表、订单详情、商品基础列表、库存同步、商家自主发货。
例子:
XHSClient client = new DefaultXHSClient();
OrderListGetRequest request = new OrderListGetRequest();
OrderListGet order = new OrderListGet();
order.setStatus("waiting");
order.setStart_time(startTime.getTime()/1000+"");
order.setEnd_time(endTime.getTime()/1000+"");
order.setLogistics("red_auto");
order.setPage_no(pageNo);
order.setPage_size(pageSize);
request.setOrderListGet(order);
OrderListGetResponse response = client.execute(request, shopApp);
1