$ bundle install
teamは、esaで取得したチームID access_tokenは、
bundle exec ruby ./get_archived_entries.rb
bundle exec ruby ./get_archived_entries.rb
esaのAPIは、75回/15分です。
上限を超えると Rate limit exceeded: will retry after 855 seconds.
と表示されsleepされます。
RateLimit用の制御コードを書く必要ありません。