Skip to main content

Bpjs on flask

Project description

Flask-Bpjs

Blah blah blah.

Compatability

Python 3.6+ is required.

Installation

pip install Flask-Bpjs

## Quickstart
1. Import with ```from flask_bpjs import FlaskBpjs```
```python
# example.py
from flask import Flask
from flask_bpjs import FlaskBpjs

app = Flask(__name__)
ext=FlaskBpjs(consid='BPJS_CONST_ID',user_key='BPJS_USER_KEY',secret_key='BPJS_SECRET_KEY',host='BPJS_HOST')
ext.init_app(app)


if __name__ == '__main__':
    app.run()

Running the example:

python example.py
 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)

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

Flask-Bpjs-0.0.2.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

Flask_Bpjs-0.0.2-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page