Google sheets API, easy to use
Project description
Description
Google sheets API, easy to use
Example of usage
from easy_googlesheets import GSheets
myGSheets = GSheets(secret_filename='credentials.json',
spreadsheet_id='',
data_tab_name='Page 1',
control_id='user1')
# Example of filter output
filter_list=["lat>0", "lng<0"]
print(myGSheets.filter_by(filter_list))
# Example of insert row
myGSheets.insert({'name': '100 Montaditos ',
'lat': float(37.3812499),
'lng': float(-6.0085387),
'url': 'https://spain.100montaditos.com/es/la-carta/',
'vicinity': 'Calle San Jacinto, 89, 41010 Sevilla',
'ref': 2999389465,
'uploader': 'user1'})
#print(myGSheets.remove("ROWS",6,9))
# Always close at the end
myGSheets.close()
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
File details
Details for the file easy_googlesheets-0.1.6.tar.gz.
File metadata
- Download URL: easy_googlesheets-0.1.6.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1fa9f48e8cd4d5c45c4ad2113835940d9ed864c3627ed8e3cf4a4e0561ad257
|
|
| MD5 |
bf346554b262ad5ff286d88f59fc65e5
|
|
| BLAKE2b-256 |
ed6724da6d31d278ec9ba0f5188508cfc5442dc1ea8bf5429f96dd9e89d1dddf
|