MSK電商艙位的快速搶艙位的思路和辦法
首先馬士基有Freight的API系統,這個系統API的運價接口需要公司銷售或者管理層的人去和馬士基的本地銷售溝通,前提條件是一年的貨量需要達到10W TEU,至於什麼是TEU自行百度。
溝通成功後msk會發送郵件過來並且附帶Slack的相關賬號信息。
通過Slack頻道和MSK內部的IT人員進行溝通,在Slack裏面MSK的技術人員會提供測試環境和生產環境的連接以及祕鑰以及API doc的說明URL
https://api.productmanagement.maersk.com/offers/docs/index.html
通過Slack的url進行接口對接,對接完成後需要截圖或者提供項目的URL給msk審覈,審覈通過後會發來prod正式環境的Key,替換Key即可上正式環境,以上是獲取實時運價的辦法。
Welcome, I have the api app keys for you. The keys are environment specific: For system integration testing please use the host: offers.api-cdt.maersk.com with the app key: xxxxx For performance testing please use the host: offers.api-stage.maersk.com with the app key: xxxxx See the documentation for more info including how to use the app key: https://api.productmanagement.maersk.com/offers/docs/index.html And let us know when you need the production key. For this we would also like to get an indication of your expected load. If you have any problems just reach out to us here and we will try to get them sorted as quickly as possible.
msk是沒有提供搶艙位的API的,所以只能通過msk官網的爬蟲進行搶艙位。
msk搶艙位的json解析說明見:https://www.cnblogs.com/IBPM/p/17050269.html
做好爬蟲即可獲取。
想獲取更多更快速的搶艙位的辦法可以評論給我留言。