This repository contains scripts that use Python to interact with the GitHub REST API.
(Note: The file structure is generated by the ASCII Tree Generator at https://ascii-tree-generator.com)
scripting-with-rest-api/
├─ assets/
│ ├─ placeholder-{purpose}.json
│ ├─ template-{purpose}-{specific}.txt
├─ scripts/
│ ├─ {purpose}.py
├─ templates/
│ ├─ {purpose}.*
├─ .gitignore
├─ LICENSE
├─ README.md
- The
assets/folder contains all the resources needed for the script to run.- The
placeholder-{purpose}.jsonfile contains all the placeholders and the replacements. - The
template-{purpose}-{problem}.txtfile is the template used when the script is executed.
- The
- The
scripts/folder contains all the scripts. - The
templates/folder contains the original templates for scripts, files in this folder can be any programming language. - The placeholders in the file name:
- The script and assets it uses will have the same placeholder.
- The
{purpose}placeholder in the file name indicates the function of the script. - The
{specific}placeholder in the file name indicates the summary of the problem to be solved.
- Create issues: Create issues based on the provided template, and replace the placeholders with the replacements in placeholder.json. All information used in the assets by this script comes from the
first contributionrepository, please refer to issue #107627 for detailed information.
If you have any thoughts or suggestions, please feel free to share them with me by raising an issue. Thank you in advance! ✨