
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
A python wrapper that connects to multiple 3rd party resources for AWS.
The GoogleAnalyticsTap connects to the v4 GA api and returns data from Google Analytics.
batch_dates: 'bool. enables batching of queries by date'
start_date: 'str. "yesterday", "today", "3_days_ago" or "2020-01-01" etc...'
end_date: 'str. "yesterday", "today", "3_days_ago" or "2020-01-01" etc...'
metrics:
- expression: 'str. metric name'
dimensions:
- name: 'str. dimension name'
pageSize: 'int. page size, defaults to 1000'
view_ids:
- 'str. a list of view to iterate over'
from datetime import datetime
import pandas as pd
from data_tap.google_tap.google_analytics import GoogleAnalyticsTap
ga_tap = GoogleAnalyticsTap(
config_file='',
creds_file='',
auth_method='',
service_account_email=''
)
dfA = pd.DataFrame()
for report in ga_tap.run_query():
dfB = pd.DataFrame(report)
dfA = dfA.append(dfB, ignore_index=True)
dfA.to_json(f"{datetime.utcnow()}.json")
The GoogleSearchConsoleTap connects to the v3 GSC api and returns data from Google Search Console. Functionality to generate an authentication token is available.
batch_dates: 'bool. enables batching of queries by date'
start_date: 'str. "yesterday", "today", "3_days_ago" or "2020-01-01" etc...'
end_date: 'str. "yesterday", "today", "3_days_ago" or "2020-01-01" etc...'
dimensions:
- 'str. dimension name'
metrics:
- 'str. metric name'
search_types:
- 'str. available gsc search types'
site_urls:
- 'str. website urls in question'
row_limit: 'int. max row limit is 25000'
from datetime import datetime
import pandas as pd
from data_tap.google_tap.google_seach_console import GoogleSeachConsoleTap
gsc_tap = GoogleSeachConsoleTap(
config_file='',
creds_file='.pickle'
)
dfA = pd.DataFrame()
for report in gsc_tap.run_query():
dfB = pd.DataFrame(report)
dfA = dfA.append(dfB, ignore_index=True)
dfA.to_json(f"{datetime.utcnow()}.json")
FAQs
A python wrapper that connects to multiple 3rd party resources for AWS.
We found that data-tap demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.