Suite of prebuilt connectors to other APIs
Project description
Fringe API Connectors
This API package GSuite and GCP API connections into classes with simpler executions.
Requirements
- Oauth Credentials for GSuite services
- Service Account for GCP services
Defaults
- scopes:
scopes = [
'https://www.googleapis.com/auth/drive',
'https://www.googleapis.com/auth/drive.file',
'https://www.googleapis.com/auth/spreadsheets',
'https://mail.google.com/'
]
Classes & Functions
import fringe_connector.api
GSuite()- authenticates using the Oauth credentials .json fileGSheets()- creates service using GSuite class upon instantiationget()- gets the values of a specified rangeupdate()- updates a specified range with the provide set of valuesappend()- appends values to the end of a rangegetColumnNumber()- returns numerical column number of letter columngetIndexesFromRange()- returns numerical indexes of alphanumeric rangecreate()- creates a new spreadsheet
GMail()- creates service using GSuite class upon instantiationfetchEmails()sendEmail()
GDrive()- creates service using GSuite class upon instantiationmoveFile()uploadFile()
GSlides()- creates service using GSuite class upon instantiationBigQuery()creates service using Service Account .json upon instantiationloadTable()- creates table with datacreateTable()- creates an empty tablequery()- custom defined query. Returns results of query or loads results at the defined destination tableupdateSchema()- updates schema of tablegetTableProperties()- returns parsed table propertiesdeleteTable()copyTable()deleteDataset()createDataset()getDatasetTables()
import fringe_web_driver
WebDriver()- default instantiation with a crome web driver. Requires a chrome web driver in PATH.quit()downloadFile()- works with chrome web driver. Buggy with Firefox web driver. Returns the filename of the downloaded file.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fringe_connector-0.0.110.tar.gz
(16.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fringe_connector-0.0.110.tar.gz.
File metadata
- Download URL: fringe_connector-0.0.110.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9627e8d3bf9a002146acf21e2a2a3783752eba1a227d0f99adeec422140819d
|
|
| MD5 |
b3fe0eeb450337a2de2440a2a7d4a830
|
|
| BLAKE2b-256 |
c807c913a3141f098a79d132a767c3953bff53f7f8e725063443411d30d48989
|
File details
Details for the file fringe_connector-0.0.110-py3-none-any.whl.
File metadata
- Download URL: fringe_connector-0.0.110-py3-none-any.whl
- Upload date:
- Size: 29.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b6a09115aeab31b148cdde081b7ccc817f61f6c4d2fe3954298cb7f89902cf9
|
|
| MD5 |
9292718d39be3d2a028376d4d5077257
|
|
| BLAKE2b-256 |
5895a08ebd32d89829cf0d253a81f9a494a547cbf284314eaef315c69ec8965e
|