#! /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=lwm2m&per_page=100&page={}" \
  > github-repos-lwm2m-20231016-{}.json
"""


for index in range(2, 5):
    print(template.format(str(index), str(index)))




