This is a simple sample app, how to use yo-api with flask.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
Procfile
README.md
app.json
config.py
flask-yo.py
requirements.txt

README.md

Flask-yo

This is a simple sample app, how to use yo-api with flask.

Setup

local

  1. Clone this repo locally. git clone https://github.com/braitom/Flask-yo.git
  2. cd Flask-yo
  3. pip install -r requirements.txt NOTICE : If you necessary, set the VirtualEnv.
  4. Replace '[YOUR_YO_API_TOKEN]' in config.py
  5. Run this app. python flask-yo.py

heroku

  1. Clone this repo locally. git clone https://github.com/braitom/Flask-yo.git
  2. cd Flask-yo
  3. heroku login
  4. heroku create
  5. Replace '[YOUR_YO_API_TOKEN]' in config.py
  6. git push heroku master

Alternatively, you can deploy your own copy of the app using this button:

Deploy

Useing

  • POST /
    Send yo, to all subscribers.
  • GET /count
    You get Subscribers counts.

License

MIT License