Raspberry Pis in Space API

Like the People in Space API, which provides data on the people in space, the Raspberry Pis in Space API provides data on the Raspberry Pis in space.

Current status

The API is currently in development and should not be considered stable.

JSON

The data is available in JSON format at the following URL: https://raw.githubusercontent.com/bennuttall/pis-in-space/master/data/pis.json

Usage

In Python:

import requests

url = "https://raw.githubusercontent.com/bennuttall/pis-in-space/master/data/pis.json"

r = requests.get(url)
j = r.json()
pis = j['pis']

for pi in pis:
    print("A {model} named {name} is on {craft}".format(**pi))

Reference