From 4b8507e8acca5b690d6ae2a6ae072a6d1608b8e8 Mon Sep 17 00:00:00 2001 From: kings177 Date: Tue, 21 Nov 2023 17:51:26 -0300 Subject: [PATCH] i am dumb --- GithubAPI/C_repos.json | 1 + GithubAPI/JavaScript_repos.json | 1 + GithubAPI/Python_repos.json | 1 + GithubAPI/Rust_repos.json | 1 + GithubAPI/fetch_top_repos.py | 2 +- 5 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 GithubAPI/C_repos.json create mode 100644 GithubAPI/JavaScript_repos.json create mode 100644 GithubAPI/Python_repos.json create mode 100644 GithubAPI/Rust_repos.json diff --git a/GithubAPI/C_repos.json b/GithubAPI/C_repos.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/GithubAPI/C_repos.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/GithubAPI/JavaScript_repos.json b/GithubAPI/JavaScript_repos.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/GithubAPI/JavaScript_repos.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/GithubAPI/Python_repos.json b/GithubAPI/Python_repos.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/GithubAPI/Python_repos.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/GithubAPI/Rust_repos.json b/GithubAPI/Rust_repos.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/GithubAPI/Rust_repos.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/GithubAPI/fetch_top_repos.py b/GithubAPI/fetch_top_repos.py index c7b28c1..1092dbc 100644 --- a/GithubAPI/fetch_top_repos.py +++ b/GithubAPI/fetch_top_repos.py @@ -36,7 +36,7 @@ def save_repos_to_file(repos, language): with open(f'{language}_repos.json', 'w') as file: json.dump(repos, file, indent=4) -api_token= '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' +api_token= 'your_token' languages = ['Python', 'Rust', 'C', 'JavaScript'] for language in languages: