Skip to content

Getting subscribers details from Ainox into Google Sheets

License

Notifications You must be signed in to change notification settings

rshushin/Ainox-Subs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Ainox Subscription Sync

Ainox is a Russian payment system that provides subscription management and billing solutions. This script helps automate the retrieval and updating of subscriber data from Ainox into a Google Spreadsheet.

Features

✅ Fetches subscriber data from Ainox API
✅ Updates Google Sheets automatically
✅ Stores credentials securely using environment variables
✅ Handles existing and new subscribers efficiently

Prerequisites

Ensure you have the following installed:

  • Python 3.x
  • pip (Python package manager)

Setup Instructions

1. Clone this repository

git clone https://github.com/your-username/ainox-subs-sync.git
cd ainox-subs-sync

2. Install dependencies

pip install -r requirements.txt

3. Set up environment variables

Create a .env file in the project directory and add the following:

GOOGLE_CREDENTIALS_JSON=path/to/your/credentials.json
SPREADSHEET_KEY=your_google_sheet_key
AINOX_API_LOGIN=your_api_login
AINOX_API_KEY=your_api_key

Never share or commit your .env file to GitHub!

4. Run the script

python script.py

License

This project is licensed under the MIT License. Feel free to use and modify it!

Contributing

Pull requests are welcome! If you find any issues, feel free to open an issue.

Contact

For any inquiries, contact [roman.shushin@gmail.com].

About

Getting subscribers details from Ainox into Google Sheets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages