# pip2 install --upgrade pip setuptools # to upgrade pip
pip2 install -t lib -r requirements.txt
cp config.py.example to config.py
vi config.py
curl "localhost:[email protected]&test_key=YOUR_TEST_KEY"
{"quote": "Everything we hear is an opinion, not a fact. Everything we see is a perspective, not the truth.", "num_credits": "4.0", "charged_credits": "0.0"}
curl "localhost:[email protected]"
{"quote": "Everything we hear is an opinion, not a fact. Everything we see is a perspective, not the truth.", "num_credits": "4.0", "charged_credits": "0.001"}
gcloud app deploy app.yaml
curl -G "https://mobius.network/api/v1/app_store/balance" \
-H "x-api-key: API_KEY_HERE" \
-d "app_uid=APP_UID" \
-d "email=EMAIL"