#! /usr/bin/env python3

template = """
curl -L \
  -H "Accept: application/vnd.github+json" \
  -H "Authorization: Bearer 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" \
  -H "X-GitHub-Api-Version: 2022-11-28" \
 "https://api.github.com/search/repositories?q=nb-iot&per_page=100&page={}" \
  > github-repos-nbiot-20231219-{}.json
"""

for index in range(1, 7):
    print(template.format(str(index), str(index)))

