I hereby claim:
- I am alanzchen on github.
- I am alanchen (https://keybase.io/alanchen) on keybase.
- I have a public key ASCTAEcX1pPYgMKi4hFzuLuFb-Hd5S0QIuYbiofxtipRnQo
To claim this, I am signing this object:
# | |
# Worksheet A | |
# | |
# This worksheet is also a Python program. Your task is to read the | |
# task descriptions below and then write one or more Python statements to | |
# carry out the tasks. There's a Python "print" statement before each | |
# task that will display the expected output for that task; you can use | |
# this to ensure that your statements are correct. | |
# |
from flask import Flask, request, jsonify | |
import json | |
from hashlib import sha256 | |
from datetime import datetime | |
from glob import glob | |
import os | |
app = Flask(__name__) | |
SECRET = "some_random_string" |
I hereby claim:
To claim this, I am signing this object:
# Install the Python Requests library: | |
# `pip install requests` | |
import requests | |
import datetime | |
import pickle | |
set_date = datetime.datetime | |
# Simply call get_record and it will return a json object containing your bill. |
//First, we'll require the 'http' library to use later for calling a 3rd party webservice | |
var http = require("http"); | |
//Getting parameters from the request body. For a nested json, we only want the first one. | |
try { | |
var parameters = JSON.parse(request.rawBody); | |
parameters = parameters[0] | |
var ip = parameters.ip; | |
var email = parameters.email; |