from datetime import datetime
now = datetime.now()
year = now.strftime("%Y")
month = now.strftime("%m")

### Configuration CASAS DE CAMBIO 

## GCP pointing ------------

# GCP project name
project = 'dev-data'

# GCP bucket name
bucket_name = 'bvs-bigdata-datalake-stage-external-cadastral-rf-dev'

# Blob path
blob_path = 'datalake/stage/external/cadastral/rf/data/CASASCAMBIO/ partitions/monthly/' + str(year) + '/' + str(month) + '/'



## File Names ------------

# file name to save logging information
log_filename = "casasCambio.log'"

# File name to save scrapped data 
filename = 'casasCambio.json'



## Scrap definitions ------------

# Download URL 
url='https://www3.bcb.gov.br/vet/rest/v2/listaPontoCambio?cnpj=00000000'

# Headers necessarry to request the data from Processos api webpage
hdr = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36'} 

# Boolean for request certification on data request
certif = True
8fa279e6363f9dc343bc67acf2445473dd9e3eda
<mask token>

<mask token>
now = datetime.now()
year = now.strftime('%Y')
month = now.strftime('%m')
project = 'dev-data'
bucket_name = 'bvs-bigdata-datalake-stage-external-cadastral-rf-dev'
blob_path = (
    'datalake/stage/external/cadastral/rf/data/CASASCAMBIO/ partitions/monthly/'
     + str(year) + '/' + str(month) + '/')
log_filename = "casasCambio.log'"
filename = 'casasCambio.json'
url = 'https://www3.bcb.gov.br/vet/rest/v2/listaPontoCambio?cnpj=00000000'
hdr = {'User-Agent':
    'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36'
    }
certif = True

from datetime import datetime
now = datetime.now()
year = now.strftime('%Y')
month = now.strftime('%m')
project = 'dev-data'
bucket_name = 'bvs-bigdata-datalake-stage-external-cadastral-rf-dev'
blob_path = (
    'datalake/stage/external/cadastral/rf/data/CASASCAMBIO/ partitions/monthly/'
     + str(year) + '/' + str(month) + '/')
log_filename = "casasCambio.log'"
filename = 'casasCambio.json'
url = 'https://www3.bcb.gov.br/vet/rest/v2/listaPontoCambio?cnpj=00000000'
hdr = {'User-Agent':
    'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36'
    }
certif = True

from datetime import datetime
now = datetime.now()
year = now.strftime("%Y")
month = now.strftime("%m")

### Configuration CASAS DE CAMBIO 

## GCP pointing ------------

# GCP project name
project = 'dev-data'

# GCP bucket name
bucket_name = 'bvs-bigdata-datalake-stage-external-cadastral-rf-dev'

# Blob path
blob_path = 'datalake/stage/external/cadastral/rf/data/CASASCAMBIO/ partitions/monthly/' + str(year) + '/' + str(month) + '/'



## File Names ------------

# file name to save logging information
log_filename = "casasCambio.log'"

# File name to save scrapped data 
filename = 'casasCambio.json'



## Scrap definitions ------------

# Download URL 
url='https://www3.bcb.gov.br/vet/rest/v2/listaPontoCambio?cnpj=00000000'

# Headers necessarry to request the data from Processos api webpage
hdr = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36'} 

# Boolean for request certification on data request
certif = True