Thank you Miroslav Glamuzina & Cooper for your replies.
Cooper thanks to your comment and link I was able to pull the information that I needed from the metrics, so in order to help any other person in the future here is the code that I used:
function getMetrics(){
var projectID ="<ENTER_YOUR_PROJECT_ID>";
var tokenAPI = "<ENTER_YOUR_BEARER_TOKEN>";
var api = "https://script.googleapis.com/v1/projects/" + projectID + "/metrics";
var query = "?metricsGranularity=WEEKLY";
var headers = { "Accept": "application/json", "Authorization": "Bearer " + tokenAPI };
var options = {
method: "GET",
contentType: "application/json",
headers: headers,
muteHttpExceptions: true
};
var response = UrlFetchApp.fetch(api + query, options);
var json = response.getContentText();
var data = JSON.parse(json);
Logger.log(data)
};
I got the results from the JSON and everything was good to be applied in any place that I needed.
Once again thank you to point me in the right direction.