Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lipskiyp/vk
Python Interface for VK API with data export via Google Sheets API.
https://github.com/lipskiyp/vk
api google-api python vk-api
Last synced: 19 days ago
JSON representation
Python Interface for VK API with data export via Google Sheets API.
- Host: GitHub
- URL: https://github.com/lipskiyp/vk
- Owner: lipskiyp
- Created: 2024-01-20T14:21:20.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-30T08:53:14.000Z (8 months ago)
- Last Synced: 2024-10-31T13:05:31.340Z (19 days ago)
- Topics: api, google-api, python, vk-api
- Language: Python
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python VK API and Google Sheets API Clients.
## Overview
The project implements a Python client to interact with VK API and upload results to a spreadsheet via Google Sheets API.
The goal was to automate the collection of VK group statistics.
## Technologies
- VK API
- Google Sheets API
- Pydantic
- httpx
- asyncio## Installation
```bash
pip install -r requirements.txt
```## Launch
```bash
python app
```app/__main__.py implements a basic example that:
- Initiates VK API and Google Sheets API clients
- Loads and organizes VK stats data
- Writes data to Google Sheet## Structure
### app/.envs
Contains environment variables (templates) for VK API and Google Sheets API.
### app/configs
Contains Pydantic configuration settings for VK API and Google Sheets API.
### app/sheets
Contains Google Sheets API client that lets the user write and read data, including the authentication module, credentials.json and token.json.
### app/vk
Contains VK API client that lets the user write and read data, including: authentication module, Pydantic validation schemas, data mappers and httpx requests module.