Metadata-Version: 2.1
Name: PBI_SELENIUM
Version: 1.0
Summary: package for routine operations in power bi
Author: Andre Ailton
Author-email: andre.ailtonf.10@gmail.com
Keywords: Selenium,PowerBi,Automatization,automation
Description-Content-Type: text/markdown
License-File: licenses.txt

# Selenium Automation Script

This Python script utilizes Selenium for web automation to perform tasks related to logging in, updating workspace reports, and downloading reports..

## Prerequisites

- Python installed (version 3.x recommended)
- Powerbi Account


# Features

## UpdateWorkspace
Updates the specified workspace.  
```python
    from PBI-SELENIUM import Routine 
     
    Login = 'exemple@gmail.com'
    Password =  'exemple123'
    Workspace = 'https://app.powerbi.com/groups/me/list?experience=power-bi'
    
    Routine.UpdateWorkspace(Login,Password,Workspace)
```



## DownloadReport
Downloads reports from specified links.  
```python
    from PBI-SELENIUM import Routine 
     
    Login = 'exemple@gmail.com'
    Password =  'exemple123'
    Workspace = 'https://app.powerbi.com/groups/me/list?experience=power-bi'
    links = ['Yourdashboardlink','https://app.powerbi.com/groups/me/reports//ReportSection?experience=power-bi']
    
    Routine.DownloadReport(Login,Password,Workspace,links)
```
## ViewReports
Views reports at regular intervals.
```python
    from PBI-SELENIUM import Routine 
     
    Login = 'exemple@gmail.com'
    Password =  'exemple123'
    Workspace = 'https://app.powerbi.com/groups/me/list?experience=power-bi'
    interval = 10 # interval time between reports
    links = ['https://app.powerbi.com/groups/me/reports//ReportSection?experience=power-bi']
    
    
    Routine.ViewReports(Login,Password,Workspace,interval,links)
```
