新しいBoxサポートサイトへようこそ。 変更点の詳細はこちらをご確認ください .

Get first item from search

新規投稿

コメント

1件のコメント

  • Lukasz Socha

    Hi!
    query() method returns BoxObjectCollection object, which inherits from Iterator. Therefore you can use either next() method exposed by BoxObjectCollection class or next() method inherited form Iterator class. To get first item you can do:

    item1 = items1.next() # recommended 

    or

    item1 = next(items1)

    Regards

    0
    コメントアクション Permalink

投稿コメントは受け付けていません。