https://github.com/route1io/route1io-python-connectors
Connectors for interacting with popular APIs and services used in marketing analytics via clean and concise Python code.
https://github.com/route1io/route1io-python-connectors
analytics api api-connector data data-engineering marketing marketing-analytics python python3
Last synced: 2 months ago
JSON representation
Connectors for interacting with popular APIs and services used in marketing analytics via clean and concise Python code.
- Host: GitHub
- URL: https://github.com/route1io/route1io-python-connectors
- Owner: route1io
- License: gpl-3.0
- Created: 2021-07-19T21:54:23.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-10-09T19:01:42.000Z (8 months ago)
- Last Synced: 2025-12-21T21:10:12.501Z (6 months ago)
- Topics: analytics, api, api-connector, data, data-engineering, marketing, marketing-analytics, python, python3
- Language: Python
- Homepage: http://route1.io
- Size: 5.79 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# route1.io Python connectors
[](https://github.com/route1io/route1io-python-connectors/issues)
[](https://www.gnu.org/licenses/gpl-3.0.en.html)
[](https://pypi.org/project/route1io-connectors/)
---
At [route1.io](http://route1.io/index.html) we've written high level, easy-to-use abstractions in Python for connecting to common APIs used in marketing analytics. This repository contains our official code, documentation, and tutorials to help you on your way accessing what matters most: *your data*.

## Table of Contents
* [Supported API's](#supported)
* [Installation](#installation)
* [Sample usage](#usage)
* [Documentation](#documentation)
* [License](#license)
---
## Supported API's
Below is a list of API's currently supported by our custom connectors
* [AWS' S3](route1io_connectors/aws.py)
* [Google Sheets](route1io_connectors/gsheets.py)
* [Google Analytics](route1io_connectors/google_analytics.py)
* [Google Ads](route1io_connectors/googleads.py)
* [DoubleClick Manager](route1io_connectors/dcm.py)
* [Search Ads 360](route1io_connectors/sa360.py)
* [Slack](route1io_connectors/slack.py)
* [Facebook](route1io_connectors/facebook.py)
* [Apple Search Ads](route1io_connectors/apple_search_ads.py)
* [TikTok](route1io_connectors/tiktok.py)
* [OneDrive](route1io_connectors/onedrive.py)
---
### pip
Easily install to your environment from PyPI with
```shell
$ pip install route1io-connectors
```
---
## Sample usage
All connectors provided by the package can be imported with Python's standard import syntax. See our [wiki](https://github.com/route1io/route1io-python-connectors/wiki) for tutorials regarding specific platform connectors!
```python3
from route1io_connectors import aws
# Credentials
# NOTE: Storing credentials in source isn't secure in practice.
# It's recommended you store them in a more secure place.
AWS_ACCESS_KEY_ID = "YOUR_AWS_ACCESS_KEY_ID"
AWS_SECRET_ACCESS_KEY = "YOUR_AWS_SECRET_ACCESS_KEY"
REGION_NAME = "YOUR_DEFAULT_REGION_NAME"
# Connect to S3
s3 = aws.connect_to_S3(
aws_access_key_id=AWS_ACCESS_KEY_ID,
aws_secret_access_key=AWS_SECRET_ACCESS_KEY,
region_name=REGION_NAME
)
# Download remote file from S3 bucket to local machine
aws.download_from_S3(
s3=s3,
bucket="your.s3.bucket",
key="local_file.csv"
local_fpath="tmp/local_file.csv",
)
```
---
## Documentation
Documentation can be found in docs/_build/html or online at
[Read The Docs](https://route1io-python-connectors.readthedocs.io/en/latest/)
## License
This library operates under the [GNU GPL v3.0](LICENSE) license.
---