Skip to content

rdwz/rpilocator_api

 
 

Repository files navigation

rpilocator api

(for Raspberry Pi 4 Model B only)

An Unofficial REST API for rpilocator.com

Built by Andre Saddler

heroku

Current Endpoints

/pi4/<region>

  • Method: GET
  • Cached Time: 300 seconds (5 Minutes)
  • Region: US, UK
  • Response:

/pi4/<region>/<model GiB #>

  • Method: GET
  • Cached Time: 300 seconds (5 Minutes)
  • Region: 1, 2, 4, 8

Installation

Source

$ git clone https://github.com/axsddlr/rpilocator_api/
$ cd rpilocator_api
$ pip install -r requirements.txt

Usage

python3 main.py
OR 
uvicorn main:app --reload --port 3000

Contributing

Feel free to submit a pull request or an issue!

License

The MIT License (MIT)

About

An Unofficial REST API for checking Raspberry Pi 4 availability https://rpilocator.com/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.6%
  • Dockerfile 2.9%
  • Procfile 0.5%