Skip to content

Commit

Permalink
Add main script to download GeForce data
Browse files Browse the repository at this point in the history
  • Loading branch information
woctezuma committed Sep 13, 2021
1 parent 34de93b commit ec8dbb7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions download_geforce_data.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
from src.disk_utils import save_to_disk
from src.fetch_utils import fetch_all_pages


def main():
data = fetch_all_pages(is_slim_query=False)
save_to_disk(data, "data_slim.json", verbose=True)

data = fetch_all_pages(is_slim_query=True)
save_to_disk(data, "data_full.json", verbose=True)

return


if __name__ == "__main__":
main()

0 comments on commit ec8dbb7

Please sign in to comment.