Skip to content
🥧 A Pi API
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
Procfile
README.md
api.py
makePi.js
pi.yaml
requirements.txt

README.md

License Python JavaScript

A Pi API: https://pi.ctrlalt.dev/

Endpoints:

GET

Path Returns curl
/ Pi with 100 decimals curl https://pi.ctrlalt.dev/
/<n> Pi with n decimals curl https://pi.ctrlalt.dev/10
/decimals/ Pi 100 first decimals curl https://pi.ctrlalt.dev/decimals/
/decimals/<n> Pi n first decimals curl https://pi.ctrlalt.dev/decimals/10
/stream Stream of Pi decimals with a 500ms delay curl https://pi.ctrlalt.dev/stream
/stream/<t> Stream of Pi decimals with a t ms delay curl https://pi.ctrlalt.dev/stream/1000

All endpoints but stream return json

You can’t perform that action at this time.