GitXplorerGitXplorer
l

hangout-link-gen

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
de61b46a91469604ae78d15d5c463c77237288ba

Allow cross origin

lliezl200 committed 8 years ago
Unverified
00aeebede4ea766f158fa2ec9a9b80904790fef2

readme links

lliezl200 committed 8 years ago
Unverified
4be4a35654672a100ff9f94fb334407804a8d4f5

readme

lliezl200 committed 8 years ago
Unverified
ee3936a837f92f9a12bc3323be8eef0ea4f82e27

Generate Google Hangout links

lliezl200 committed 8 years ago
Unverified
98d9d6878fd23f7e495ac35a3766e2c21f8de327

Initial commit

lliezl200 committed 8 years ago

README

The README file for this repository.

hangout-link-gen

Google Hangout link generator to create a large amount of public hangout links (the Hangouts API doesn't allow for this directly)

Install

Flask

  • If you don't already have virtualenv: pip install virtualenv

  • Create a local virtual environment. Do not commit this. virtualenv venv

Reference: http://flask.pocoo.org/docs/0.11/installation/#installation

Usage

  1. Activate the virtual environment. source /venv/bin/activate

  2. Update dependencies. pip install -r requirements.txt

  3. To exit virtual environment: deactivate

Requirements

  • To update dependencies: pip install -r requirements.txt

  • To save current dependencies: pip freeze > requirements.txt

  • Get client_secret.json (for Google OAuth 2) and settings.py (for the database)

Using the endpoints

  1. Go to www.google.com/calendar, click the Settings gear icon, click Settings, and then find "Automatically add Google+ hangouts to events I create" and select "Yes" (http://www.riskcompletefailure.com/2012/11/programmatically-scheduling-hangouts.html)
  2. http://localhost:5000/login
  3. Complete authentication
  4. http://localhost:5000/get?n=100