Skip to content

Instantly share code, notes, and snippets.

View alanboy's full-sized avatar

Alan Gonzalez alanboy

View GitHub Profile
import pytest
import json
from fastapi.testclient import TestClient
import sys
from app import app
import time
const BEARER_TOKEN = ``
const PROJECT_ID = 288;
const getData = async (api) => {
return new Promise((resolve, reject) => {
const headers = new Headers();
headers.append("Authorization", `Bearer ${BEARER_TOKEN}`);
const requestOptions = {
method: "GET",
import pandas as pd
import os
import matplotlib.pyplot as plt
from datetime import datetime, date
from os.path import join
from os import listdir
def createdf() -> pd.DataFrame:
firstdf = None
for f in listdir("./data"):