2015-10-08 27 views
0

該文檔描述了一元集合爲2(或多個)不同的API相結合...有沒有人獲得Kimono元API來結合多個API的結果?

默認情況下,元API終點返回其所有 子的API的所有數據,通過收集組織。

但是,我發現它不這樣做。它會從部分子API獲取部分數據,並以靜默方式失敗,而不記錄錯誤。

API#1結果

COLLECTION2 
ROW LIST.HREF            LIST.TEXT  INDEX URL 
1 http:/​/​www.amazon.com/​Org...pollux+​organix+​canned+​dog Canned Dog Food 3 http:/​/​www.austinpetsalive.org/​donate/​wish-​list/​ 
2 http:/​/​www.amazon.com/​Pre...s-​Large/​lm/​R34ISSXSRJPA71 Premier Brand Martingale collars (Pink, Silver, Blue, Red, and Orange) sizes XL or L 4 http:/​/​www.austinpetsalive.org/​donate/​wish-​list/​ 
3 http:/​/​www.amazon.com/​Pre...ords=​medium+​gentle+​leader Medium & Large Gentle Leaders 5 http:/​/​www.austinpetsalive.org/​donate/​wish-​list/​ 

API#2結果

COLLECTION2 
ROW LIST.HREF LIST.TEXT INDEX URL 
1    Dry kitten and adult dog food (we ask that the first ingredient listed on the bag be meat). Some Brands we love include: Purina One, Pro-Plan, Wellness, Evolve, Blue Buffalo, and Kirklands 9 http:/​/​pawsshelter.org/​donate/​wishlist/​ 
2    Cat Litter 10 http:/​/​pawsshelter.org/​donate/​wishlist/​ 
3    Kongs, Balls, Durable Toys, Puzzle Toys 11 http:/​/​pawsshelter.org/​donate/​wishlist/​ 

元API結果集合2 - 它是從API#2,沒有設置從整個數據API#1

COLLECTION2 
ROW LIST.HREF LIST.TEXT INDEX URL API 
1  Dry kitten and adult dog food (we ask that the first ingredient listed on the bag be meat). Some Brands we love include: Purina One, Pro-Plan, Wellness, Evolve, Blue Buffalo, and Kirklands 132 http:/​/​pawsshelter.org/​donate/​wishlist/​ PAWS Shelter and Humane Society 
2  Cat Litter 133 http:/​/​pawsshelter.org/​donate/​wishlist/​ PAWS Shelter and Humane Society 
3  Kongs, Balls, Durable Toys, Puzzle Toys 134 http:/​/​pawsshelter.org/​donate/​wishlist/​ PAWS Shelter and Humane Society 

數據結構是完全相同的。他們爲什麼不在meta API下結合使用?


測試

  • 薈萃API組合曾與2層的API,每一個集合。
  • 當定義了多個集合時,APIS的某些組合部分組合。每個集合都填充了一個或另一個API的內容,但從來都沒有。
  • 我需要將3個API結合到一個網站的所有集合中,並且任何集合中的其他兩個都沒有任何結果,並且沒有記錄錯誤。

片狀結果似乎與收藏品有關。但是我已經轉向了一個klugey臨時修復,它將分別調用每個API並將JSON結果合併到我的應用程序中。 3個API調用,而不是一個。可能很快就會尋找其他工具。

回答

0

現在,它的工作原理

自從我發表在十月這個問題,KimonoLabs已經更新了他們的應用程序,我現在有創建和使用元API的一套單一的API我上面貼的一貫成功。

這是積極的。

美中不足的是,你不能在元API使用URL參數,因此,如果你寫後期處理修改結果的功能,它們將不被執行,即使您使用kimmodify=1