Skip to content

Instantly share code, notes, and snippets.

Get Productive!

Michael Weiner mike-weiner

Get Productive!
View GitHub Profile
mike-weiner / vaccine-spotter.php
Last active Mar 28, 2021
A Python and PHP version of a script that will use the open source Vaccine Spotter API to print out all vaccine centers in a specific city with which vaccine sites have appointments available.
View vaccine-spotter.php
# Build HTML Output in a string to echo out
$html_output = "
<meta charset='utf-8'>
<title>Vaccine Spotter API Call Results</title>
<meta name='description' content='This page is the result of the API call to for the city and state you have selected.'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
mike-weiner /
Last active Jan 13, 2021
A Python script that uses the Coinbase API to get the current spot price of specified cryptocurrencies.
# import required tools
import json
import requests
from datetime import datetime
# print current date and time
# define array of cryptos to get the spot price of